Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001107, allocations: 102 kB / 16.4 MB, free: 6.406 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.001101/0.001101, allocations: 192.2 kB / 17.35 MB, free: 5.695 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.418/2.418, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 59.91 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8496/0.8511, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003161/0.8543, allocations: 2.008 MB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.8562, allocations: 1.201 MB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.8563, allocations: 4 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004129/0.8567, allocations: 163.4 kB / 1.171 GB, free: 424 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003258/0.8571, allocations: 155.4 kB / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/0.8575, allocations: 222.3 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003572/0.8579, allocations: 319.2 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.8581, allocations: 44.38 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/0.8583, allocations: 155.4 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.8585, allocations: 155.4 kB / 1.172 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.8585, allocations: 16 kB / 1.172 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.8587, allocations: 51.97 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.672e-05/0.8588, allocations: 83.73 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.8589, allocations: 123.2 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003626/0.8592, allocations: 372.3 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.8593, allocations: 0 / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8593, allocations: 4 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.8593, allocations: 0 / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009089/0.8602, allocations: 0.6263 MB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.8602, allocations: 8.922 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.572e-05/0.8603, allocations: 36.55 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000486/0.8608, allocations: 370 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.8608, allocations: 11.98 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.8609, allocations: 8 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.8611, allocations: 105.6 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.8611, allocations: 0 / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.8611, allocations: 8 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.8612, allocations: 0 / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.8613, allocations: 59.95 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007606/0.8621, allocations: 0.4924 MB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/0.8624, allocations: 134.8 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.8626, allocations: 48.83 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.8626, allocations: 0 / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.8628, allocations: 123.2 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.8628, allocations: 3.938 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0005047/0.8633, allocations: 226.7 kB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.8634, allocations: 55.41 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005032/0.8639, allocations: 0.5053 MB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.8639, allocations: 29.7 kB / 1.175 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.864, allocations: 164.4 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.8641, allocations: 39.55 kB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.191e-05/0.8642, allocations: 65.88 kB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.8643, allocations: 354.8 kB / 1.176 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.8645, allocations: 100.5 kB / 1.176 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.8647, allocations: 140.1 kB / 1.176 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.865, allocations: 174.5 kB / 1.176 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.865, allocations: 0 / 1.176 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004907/0.8655, allocations: 321.2 kB / 1.176 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.8656, allocations: 10.44 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.8656, allocations: 0 / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.8656, allocations: 4 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.8658, allocations: 51.91 kB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.8658, allocations: 4 kB / 1.176 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.866, allocations: 23.83 kB / 1.176 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.866, allocations: 12 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 0.0001528/0.8662, allocations: 181.8 kB / 1.177 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.8662, allocations: 39.47 kB / 1.177 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.179e-05/0.8663, allocations: 39.11 kB / 1.177 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.8663, allocations: 4 kB / 1.177 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.8663, allocations: 0 / 1.177 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.8663, allocations: 0 / 1.177 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.8666, allocations: 297.5 kB / 1.177 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.8666, allocations: 7.875 kB / 1.177 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.518e-05/0.8666, allocations: 11.98 kB / 1.177 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.8667, allocations: 7.938 kB / 1.177 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.8667, allocations: 11.98 kB / 1.177 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.8667, allocations: 0 / 1.177 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8667, allocations: 0 / 1.177 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.867, allocations: 201.7 kB / 1.177 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.8671, allocations: 116.6 kB / 1.177 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.8672, allocations: 11.94 kB / 1.177 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.955e-05/0.8673, allocations: 11.98 kB / 1.177 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.8674, allocations: 19.98 kB / 1.177 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.8674, allocations: 11.92 kB / 1.177 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003103/0.8677, allocations: 311.1 kB / 1.178 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8677, allocations: 3.938 kB / 1.178 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002787/0.868, allocations: 59.98 kB / 1.178 GB, free: 8.836 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009455/0.869, allocations: 417.5 kB / 1.178 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003897/0.8694, allocations: 200.1 kB / 1.178 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8694, allocations: 3.938 kB / 1.178 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.8695, allocations: 63.91 kB / 1.178 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.87, allocations: 92.42 kB / 1.178 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007948/0.8708, allocations: 0.5567 MB / 1.179 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.8711, allocations: 0.7871 MB / 1.18 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.956e-05/0.8712, allocations: 31.42 kB / 1.18 GB, free: 6.805 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/0.8712, allocations: 0 / 1.18 GB, free: 6.805 MB / 0.9044 GB Notification: Performance of Templates: time 0.006186/0.8774, allocations: 4.421 MB / 1.184 GB, free: 2.398 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches