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.01013/0.01013, allocations: 97.58 kB / 15.73 MB, free: 5.996 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.001832/0.001832, allocations: 187 kB / 16.67 MB, free: 5.926 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.626/1.626, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.85/2.85, allocations: 437 MB / 0.7105 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 67.89 kB / 1.019 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3587, allocations: 151.6 MB / 1.167 GB, free: 6.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003314/0.3621, allocations: 2.007 MB / 1.169 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002031/0.3641, allocations: 1.186 MB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.3643, allocations: 8 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000482/0.3648, allocations: 163.4 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004417/0.3652, allocations: 151.4 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006557/0.3659, allocations: 227 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004529/0.3663, allocations: 323.1 kB / 1.171 GB, free: 2.805 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.3665, allocations: 44.39 kB / 1.171 GB, free: 2.758 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.3668, allocations: 139.4 kB / 1.171 GB, free: 2.621 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.3671, allocations: 139.5 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.413e-05/0.3671, allocations: 16 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.3673, allocations: 67.83 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.3675, allocations: 95.67 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.3676, allocations: 119.2 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004639/0.3681, allocations: 366.4 kB / 1.172 GB, free: 1.832 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3681, allocations: 0 / 1.172 GB, free: 1.832 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3681, allocations: 0 / 1.172 GB, free: 1.832 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.3681, allocations: 0 / 1.172 GB, free: 1.832 MB / 0.92 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.001122/0.3692, allocations: 0.6454 MB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3693, allocations: 8.031 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.3694, allocations: 40.73 kB / 1.172 GB, free: 1.09 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005864/0.37, allocations: 378.3 kB / 1.173 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.37, allocations: 8 kB / 1.173 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.3701, allocations: 8 kB / 1.173 GB, free: 0.668 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.3704, allocations: 105.6 kB / 1.173 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.3704, allocations: 3.984 kB / 1.173 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.3704, allocations: 4 kB / 1.173 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.3704, allocations: 0 / 1.173 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.3706, allocations: 67.86 kB / 1.173 GB, free: 496 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008491/0.3715, allocations: 0.4888 MB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.3718, allocations: 134.7 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.372, allocations: 52.83 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.372, allocations: 4 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.3723, allocations: 111.3 kB / 1.174 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.3723, allocations: 0 / 1.174 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0005714/0.3729, allocations: 233 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.3729, allocations: 51.41 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006037/0.3735, allocations: 0.5094 MB / 1.174 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.3736, allocations: 29.7 kB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.3737, allocations: 176.3 kB / 1.174 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.3737, allocations: 31.73 kB / 1.175 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.3739, allocations: 69.92 kB / 1.175 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.374, allocations: 354.7 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.3742, allocations: 100.5 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.3745, allocations: 139.5 kB / 1.175 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/0.3748, allocations: 176 kB / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3748, allocations: 0 / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005729/0.3754, allocations: 321.3 kB / 1.176 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3755, allocations: 16 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3755, allocations: 0 / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.3755, allocations: 3.938 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.3757, allocations: 51.91 kB / 1.176 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.3757, allocations: 4 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.3759, allocations: 19.94 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.3759, allocations: 8 kB / 1.176 GB, free: 13.3 MB / 0.9356 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.0001858/0.3761, allocations: 189.6 kB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.3762, allocations: 39.7 kB / 1.176 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.089e-05/0.3763, allocations: 39.11 kB / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3763, allocations: 0 / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.3763, allocations: 0 / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.3763, allocations: 4 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.3766, allocations: 297.5 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.3766, allocations: 0 / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.992e-05/0.3767, allocations: 15.94 kB / 1.176 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.3767, allocations: 3.938 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.3767, allocations: 3.984 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3767, allocations: 4 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3767, allocations: 4 kB / 1.176 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004123/0.3771, allocations: 204.8 kB / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.404e-05/0.3772, allocations: 112.9 kB / 1.177 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.3773, allocations: 7.938 kB / 1.177 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.3774, allocations: 15.98 kB / 1.177 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.863e-05/0.3775, allocations: 15.98 kB / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.3775, allocations: 11.98 kB / 1.177 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003404/0.3779, allocations: 315.1 kB / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.11e-07/0.3779, allocations: 0 / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003139/0.3782, allocations: 63.88 kB / 1.177 GB, free: 11.89 MB / 0.9356 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.0009981/0.3792, allocations: 424.1 kB / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000421/0.3796, allocations: 191.8 kB / 1.178 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3797, allocations: 4.125 kB / 1.178 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.3798, allocations: 67.89 kB / 1.178 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.3803, allocations: 92.16 kB / 1.178 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009113/0.3812, allocations: 0.531 MB / 1.178 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.3816, allocations: 0.787 MB / 1.179 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000144/0.3818, allocations: 58.92 kB / 1.179 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.661e-05/0.3818, allocations: 35.42 kB / 1.179 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of SimCode: time 5.81e-07/0.3819, allocations: 0 / 1.179 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of Templates: time 0.01026/0.3921, allocations: 4.082 MB / 1.183 GB, free: 5.773 MB / 0.9356 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/jenkins/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