Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007804/0.007803, allocations: 101.2 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 196.3 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.472/2.472, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.89 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6687/0.67, allocations: 140.3 MB / 0.9496 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.00178/0.6718, allocations: 0.8408 MB / 0.9504 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007224/0.6726, allocations: 0.8569 MB / 0.9512 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.273e-05/0.6726, allocations: 1.25 kB / 0.9512 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.336e-05/0.6727, allocations: 9 kB / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.569e-05/0.6728, allocations: 9 kB / 0.9513 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.673, allocations: 38.89 kB / 0.9513 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.6731, allocations: 78.14 kB / 0.9514 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.6732, allocations: 26 kB / 0.9514 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.389e-05/0.6733, allocations: 35.88 kB / 0.9514 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.625e-05/0.6734, allocations: 45.83 kB / 0.9515 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.6735, allocations: 4.188 kB / 0.9515 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.241e-05/0.6735, allocations: 5.969 kB / 0.9515 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.6735, allocations: 22.12 kB / 0.9515 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.628e-05/0.6736, allocations: 30.2 kB / 0.9515 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.6737, allocations: 63.36 kB / 0.9516 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.6737, allocations: 0 / 0.9516 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6737, allocations: 1.594 kB / 0.9516 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.6737, allocations: 0 / 0.9516 GB, free: 7.578 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008167/0.6746, allocations: 401.7 kB / 0.952 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.667e-05/0.6746, allocations: 9.844 kB / 0.952 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.346e-05/0.6747, allocations: 7.812 kB / 0.952 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.6749, allocations: 177.1 kB / 0.9522 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.6749, allocations: 6.781 kB / 0.9522 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.675, allocations: 9.312 kB / 0.9522 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000348/0.6753, allocations: 106.7 kB / 0.9523 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.6753, allocations: 5.344 kB / 0.9523 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.6754, allocations: 3.984 kB / 0.9523 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.6754, allocations: 5.344 kB / 0.9523 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003942/0.6758, allocations: 96 kB / 0.9524 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006626/0.6764, allocations: 348.5 kB / 0.9527 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006786/0.6771, allocations: 122 kB / 0.9528 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.6773, allocations: 54.97 kB / 0.9529 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.6774, allocations: 0 / 0.9529 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.6774, allocations: 36.66 kB / 0.9529 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.6774, allocations: 0 / 0.9529 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006801/0.6781, allocations: 183.3 kB / 0.9531 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.6781, allocations: 56.84 kB / 0.9532 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.6782, allocations: 125.4 kB / 0.9533 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.6783, allocations: 25.7 kB / 0.9533 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.6783, allocations: 94.88 kB / 0.9534 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.6784, allocations: 22.72 kB / 0.9534 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.6784, allocations: 23.98 kB / 0.9534 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.284e-05/0.6785, allocations: 324.1 kB / 0.9537 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.6787, allocations: 48.27 kB / 0.9538 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.6788, allocations: 44.02 kB / 0.9538 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.6791, allocations: 97.67 kB / 0.9539 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6791, allocations: 4 kB / 0.9539 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003815/0.6795, allocations: 131.1 kB / 0.9541 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.6796, allocations: 4.562 kB / 0.9541 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.6796, allocations: 1.406 kB / 0.9541 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.6796, allocations: 0 / 0.9541 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.6797, allocations: 22.97 kB / 0.9541 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.6798, allocations: 5.188 kB / 0.9541 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.6799, allocations: 23.56 kB / 0.9541 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.6799, allocations: 2.188 kB / 0.9541 GB, free: 5.34 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,intLesEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.117e-05/0.68, allocations: 117.1 kB / 0.9542 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.68, allocations: 7.531 kB / 0.9542 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.68, allocations: 9.719 kB / 0.9542 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.68, allocations: 5.266 kB / 0.9542 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.6801, allocations: 0 / 0.9542 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.6801, allocations: 7.938 kB / 0.9543 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.6802, allocations: 199.4 kB / 0.9544 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6802, allocations: 1.344 kB / 0.9544 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.6804, allocations: 26.12 kB / 0.9545 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.6804, allocations: 5.156 kB / 0.9545 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.6804, allocations: 5.266 kB / 0.9545 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.6804, allocations: 0 / 0.9545 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.6804, allocations: 0 / 0.9545 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.6808, allocations: 239.2 kB / 0.9547 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.195e-05/0.6808, allocations: 78.86 kB / 0.9548 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.6809, allocations: 1.094 kB / 0.9548 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.681, allocations: 11.52 kB / 0.9548 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.989e-05/0.6811, allocations: 23.16 kB / 0.9548 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.6811, allocations: 10.58 kB / 0.9548 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.016e-05/0.6812, allocations: 96.69 kB / 0.9549 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6812, allocations: 0 / 0.9549 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002306/0.6814, allocations: 28.55 kB / 0.9549 GB, free: 4.535 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (intLesEqu.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001103/0.6815, allocations: 100.8 kB / 0.955 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003865/0.6819, allocations: 110.6 kB / 0.9551 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6819, allocations: 0 / 0.9551 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.6821, allocations: 61.28 kB / 0.9552 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.6824, allocations: 8.094 kB / 0.9552 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003997/0.6829, allocations: 218.7 kB / 0.9554 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.683, allocations: 0.6911 MB / 0.9561 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.683, allocations: 11.75 kB / 0.9561 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.6831, allocations: 0 / 0.9561 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of Templates: time 0.002542/0.6856, allocations: 1.241 MB / 0.9573 GB, free: 2.797 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches