Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009482/0.0009482, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001092/0.001092, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.3 MB / 240 MB, free: 5.277 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.557/2.557, allocations: 390.9 MB / 0.666 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.0004052, allocations: 16 kB / 0.8154 GB, free: 13.57 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8691/0.8695, allocations: 142.4 MB / 0.9545 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001078/0.8707, allocations: 460 kB / 0.9549 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.8722, allocations: 1.242 MB / 0.9561 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.8723, allocations: 0 / 0.9561 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.863e-05/0.8723, allocations: 5 kB / 0.9561 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.597e-05/0.8724, allocations: 17.78 kB / 0.9561 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006237/0.873, allocations: 212.9 kB / 0.9563 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.8732, allocations: 207.5 kB / 0.9565 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.8733, allocations: 19.03 kB / 0.9565 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.8735, allocations: 89.14 kB / 0.9566 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.8736, allocations: 76.97 kB / 0.9567 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.33e-05/0.8737, allocations: 13.06 kB / 0.9567 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.565e-05/0.8738, allocations: 22.41 kB / 0.9567 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.8738, allocations: 31.8 kB / 0.9568 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.344e-05/0.8739, allocations: 48.36 kB / 0.9568 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.8741, allocations: 158.4 kB / 0.957 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.8741, allocations: 0 / 0.957 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.717e-06/0.8742, allocations: 0 / 0.957 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.8742, allocations: 0 / 0.957 GB, free: 5.777 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007098/0.8749, allocations: 468.3 kB / 0.9574 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.8749, allocations: 9.156 kB / 0.9574 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.279e-05/0.875, allocations: 20.52 kB / 0.9574 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005919/0.8756, allocations: 259.6 kB / 0.9577 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/0.8757, allocations: 11.78 kB / 0.9577 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.311e-05/0.8757, allocations: 20.67 kB / 0.9577 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.876, allocations: 133.3 kB / 0.9578 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.876, allocations: 3.984 kB / 0.9578 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.876, allocations: 10.17 kB / 0.9579 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.8761, allocations: 5 kB / 0.9579 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.8762, allocations: 66.69 kB / 0.9579 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008406/0.8771, allocations: 0.5217 MB / 0.9584 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.8774, allocations: 158.5 kB / 0.9586 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.8775, allocations: 67.16 kB / 0.9587 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.8775, allocations: 0 / 0.9587 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003794/0.8779, allocations: 212.8 kB / 0.9589 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 1.813e-06/0.8779, allocations: 0 / 0.9589 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.0006698/0.8786, allocations: 308.8 kB / 0.9591 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.8787, allocations: 93.2 kB / 0.9592 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.8788, allocations: 133.8 kB / 0.9594 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.8788, allocations: 36.58 kB / 0.9594 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.128e-05/0.8789, allocations: 98.2 kB / 0.9595 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.74e-05/0.879, allocations: 51.59 kB / 0.9595 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.879, allocations: 12.12 kB / 0.9596 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.865e-05/0.8791, allocations: 326.9 kB / 0.9599 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.8793, allocations: 84.23 kB / 0.9599 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.8795, allocations: 145.9 kB / 0.9601 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.8797, allocations: 146.1 kB / 0.9602 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.8797, allocations: 1.375 kB / 0.9602 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005477/0.8802, allocations: 353.8 kB / 0.9606 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.754e-05/0.8803, allocations: 72.78 kB / 0.9606 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.8803, allocations: 2.094 kB / 0.9606 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.8803, allocations: 3.406 kB / 0.9606 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.485e-05/0.8804, allocations: 20.62 kB / 0.9607 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.8804, allocations: 6.938 kB / 0.9607 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/0.8808, allocations: 91.52 kB / 0.9608 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.8808, allocations: 13.84 kB / 0.9608 GB, free: 2.59 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.881, allocations: 146.9 kB / 0.9609 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.881, allocations: 19.83 kB / 0.9609 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.889e-05/0.881, allocations: 18.45 kB / 0.9609 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.881, allocations: 3.344 kB / 0.9609 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.8811, allocations: 1.062 kB / 0.9609 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.8811, allocations: 1.031 kB / 0.9609 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005515/0.8816, allocations: 0.6164 MB / 0.9615 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.8816, allocations: 4 kB / 0.9616 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.8817, allocations: 10.97 kB / 0.9616 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.8817, allocations: 4.891 kB / 0.9616 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.8817, allocations: 10.98 kB / 0.9616 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.8817, allocations: 2 kB / 0.9616 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8817, allocations: 0 / 0.9616 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/0.8821, allocations: 417 kB / 0.962 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.588e-05/0.8822, allocations: 92.95 kB / 0.9621 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.8822, allocations: 15.94 kB / 0.9621 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.8823, allocations: 19.45 kB / 0.9621 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.459e-05/0.8824, allocations: 25.02 kB / 0.9621 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.8825, allocations: 17.95 kB / 0.9621 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.692e-05/0.8825, allocations: 95.92 kB / 0.9622 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8825, allocations: 0 / 0.9622 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003652/0.8829, allocations: 54.95 kB / 0.9623 GB, free: 1.34 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002168/0.8831, allocations: 127 kB / 0.9624 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004789/0.8836, allocations: 343.5 kB / 0.9627 GB, free: 1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.8836, allocations: 0 / 0.9627 GB, free: 1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.8838, allocations: 112.3 kB / 0.9628 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.8842, allocations: 34.56 kB / 0.9629 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005227/0.8847, allocations: 295.4 kB / 0.9632 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.8849, allocations: 0.7089 MB / 0.9638 GB, free: 16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.744e-05/0.885, allocations: 16.39 kB / 0.9639 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.885, allocations: 20.59 kB / 0.9639 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.885, allocations: 0 / 0.9639 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of Templates: time 0.006115/0.8912, allocations: 2.366 MB / 0.9662 GB, free: 14.79 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches