Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.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.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 110.9 kB / 16.42 MB, free: 6.516 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.001828/0.001828, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.43/1.43, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.605/2.605, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 71.84 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9654/0.9668, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.002134/0.969, allocations: 0.7854 MB / 1.168 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.9709, allocations: 1.339 MB / 1.169 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.674e-05/0.971, allocations: 4 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.158e-05/0.9711, allocations: 7.875 kB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.939e-05/0.9712, allocations: 27.78 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008874/0.9721, allocations: 313.8 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004807/0.9726, allocations: 367.6 kB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.9728, allocations: 57.08 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003464/0.9732, allocations: 159.7 kB / 1.17 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.9735, allocations: 139.5 kB / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.488e-05/0.9736, allocations: 36 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.9737, allocations: 51.98 kB / 1.171 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.945e-05/0.9738, allocations: 67.84 kB / 1.171 GB, free: 500 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.9739, allocations: 139.6 kB / 1.171 GB, free: 360 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.9744, allocations: 343 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.9744, allocations: 4 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of FrontEnd: time 2.796e-06/0.9744, allocations: 0 / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.9744, allocations: 0 / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008385/0.9752, allocations: 0.5392 MB / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.9753, allocations: 12.92 kB / 1.172 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.9754, allocations: 20.84 kB / 1.172 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005963/0.976, allocations: 268.2 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.9761, allocations: 20.31 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.242e-05/0.9761, allocations: 40.3 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003899/0.9765, allocations: 218 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.9766, allocations: 3.938 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.9766, allocations: 19.95 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.9766, allocations: 4 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.9768, allocations: 91.88 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008913/0.9777, allocations: 0.5663 MB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.9782, allocations: 250.6 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.9784, allocations: 116.8 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.9784, allocations: 8.031 kB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007599/0.9792, allocations: 0.5452 MB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 2.024e-06/0.9792, allocations: 4 kB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.0009885/0.9802, allocations: 0.5567 MB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.9802, allocations: 67.39 kB / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.9804, allocations: 152.3 kB / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.934e-05/0.9805, allocations: 57.69 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.661e-05/0.9806, allocations: 108.9 kB / 1.175 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.763e-05/0.9807, allocations: 110.8 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.9809, allocations: 126.2 kB / 1.175 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.981, allocations: 338.8 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.9813, allocations: 181.1 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003916/0.9817, allocations: 293.8 kB / 1.176 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.9822, allocations: 365.1 kB / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.9822, allocations: 0 / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008889/0.9831, allocations: 0.5644 MB / 1.177 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.403e-05/0.9832, allocations: 71.39 kB / 1.177 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.9832, allocations: 0 / 1.177 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.9832, allocations: 11.94 kB / 1.177 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.075e-05/0.9833, allocations: 23.92 kB / 1.177 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.9833, allocations: 15.86 kB / 1.177 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004058/0.9837, allocations: 87.92 kB / 1.177 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-05/0.9838, allocations: 27.98 kB / 1.177 GB, free: 9.844 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 70 ($PRE.falCleTruIni.clr,$PRE.falCleFalIni.clr,$PRE.truCleTruIni.clr,$PRE.truCleFalIni.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,fal.y,tru.y,falCleTruIni.clr,falCleFalIni.clr,truCleTruIni.clr,truCleFalIni.clr,togInp.y,$PRE.togInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,$PRE.swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,$PRE.swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,$PRE.truCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,$PRE.truCleTruIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,$PRE.falCleFalIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$PRE.falCleTruIni.u,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 2 * 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.0001809/0.984, allocations: 171 kB / 1.177 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.9841, allocations: 27.8 kB / 1.177 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.9842, allocations: 38.31 kB / 1.177 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.9842, allocations: 4 kB / 1.177 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.9842, allocations: 11.86 kB / 1.177 GB, free: 9.582 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.287e-05/0.9843, allocations: 96.77 kB / 1.177 GB, free: 9.469 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.253e-05/0.9843, allocations: 27.98 kB / 1.177 GB, free: 9.441 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.9844, allocations: 11.98 kB / 1.177 GB, free: 9.43 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.9846, allocations: 75.83 kB / 1.177 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007155/0.9853, allocations: 0.5204 MB / 1.178 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007684/0.9861, allocations: 0.6197 MB / 1.178 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000285/0.9864, allocations: 231.9 kB / 1.179 GB, free: 7.965 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.151e-05/0.9865, allocations: 99.27 kB / 1.179 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of Backend: time 5.41e-07/0.9865, allocations: 0 / 1.179 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.9875, allocations: 0.5261 MB / 1.179 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0009006/0.9884, allocations: 0.7742 MB / 1.18 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of Templates: time 0.009006/0.9974, allocations: 4.714 MB / 1.184 GB, free: 1.812 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Toggle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches