Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00207/0.00207, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002676/0.002676, allocations: 166 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 177.2 MB / 202.8 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.857/2.857, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.388e-05, allocations: 2.281 kB / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002065/0.002089, allocations: 0.8058 MB / 1.001 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.00385, allocations: 1.19 MB / 1.002 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.189e-05/0.003912, allocations: 0 / 1.002 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.857e-05/0.00395, allocations: 7.875 kB / 1.002 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.759e-05/0.004028, allocations: 11.86 kB / 1.002 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.004536, allocations: 152.3 kB / 1.002 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.004763, allocations: 143.7 kB / 1.002 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.004874, allocations: 23.97 kB / 1.002 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.005045, allocations: 79.88 kB / 1.002 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.005153, allocations: 43.86 kB / 1.003 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.005191, allocations: 16 kB / 1.003 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.558e-05/0.005267, allocations: 24 kB / 1.003 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.668e-05/0.005303, allocations: 23.91 kB / 1.003 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.222e-05/0.005376, allocations: 39.91 kB / 1.003 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.005663, allocations: 175.5 kB / 1.003 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.005666, allocations: 0 / 1.003 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.12e-07/0.005667, allocations: 0 / 1.003 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.005676, allocations: 0 / 1.003 GB, free: 4.566 MB / 0.9512 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.0006841/0.00636, allocations: 363.7 kB / 1.003 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.006393, allocations: 8.031 kB / 1.003 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/0.006452, allocations: 16.88 kB / 1.003 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.006568, allocations: 117.7 kB / 1.003 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.006587, allocations: 4.375 kB / 1.003 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.00662, allocations: 20.31 kB / 1.003 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.006871, allocations: 82.2 kB / 1.003 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.006881, allocations: 192 / 1.003 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.006895, allocations: 4.375 kB / 1.003 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.006899, allocations: 384 / 1.003 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.007132, allocations: 63.83 kB / 1.003 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005438/0.007676, allocations: 296.3 kB / 1.004 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.007865, allocations: 58.48 kB / 1.004 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.00797, allocations: 24.94 kB / 1.004 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.007984, allocations: 0 / 1.004 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002764/0.00826, allocations: 87.36 kB / 1.004 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.008261, allocations: 0 / 1.004 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0004653/0.008727, allocations: 129.5 kB / 1.004 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.00877, allocations: 55.41 kB / 1.004 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.008892, allocations: 121.8 kB / 1.004 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.008928, allocations: 33.64 kB / 1.004 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.984e-05/0.009008, allocations: 104.1 kB / 1.004 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.009031, allocations: 15.89 kB / 1.004 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.111e-05/0.009122, allocations: 33.7 kB / 1.004 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.009285, allocations: 326.8 kB / 1.005 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.009482, allocations: 81.66 kB / 1.005 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.009716, allocations: 138.8 kB / 1.005 GB, free: 2.219 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.009992, allocations: 116.2 kB / 1.005 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.009994, allocations: 0 / 1.005 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005061/0.0105, allocations: 224.9 kB / 1.005 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.01054, allocations: 35.83 kB / 1.005 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.01055, allocations: 4 kB / 1.005 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.01056, allocations: 320 / 1.005 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.129e-05/0.01065, allocations: 11.98 kB / 1.005 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.01066, allocations: 0 / 1.005 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.01091, allocations: 47.84 kB / 1.005 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.01093, allocations: 15.92 kB / 1.005 GB, free: 1.734 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001246/0.01106, allocations: 126.3 kB / 1.005 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.851e-05/0.01108, allocations: 4 kB / 1.005 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.01111, allocations: 8.438 kB / 1.005 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.01111, allocations: 4 kB / 1.005 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.01112, allocations: 0 / 1.005 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.01112, allocations: 0 / 1.005 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.01126, allocations: 137.3 kB / 1.006 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01126, allocations: 3.938 kB / 1.006 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.711e-05/0.01133, allocations: 11.98 kB / 1.006 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01133, allocations: 0 / 1.006 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.01134, allocations: 3.984 kB / 1.006 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01134, allocations: 4 kB / 1.006 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01134, allocations: 0 / 1.006 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.01165, allocations: 129 kB / 1.006 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.162e-05/0.01166, allocations: 3.953 kB / 1.006 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.01168, allocations: 4 kB / 1.006 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.01175, allocations: 7.984 kB / 1.006 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.01181, allocations: 15.97 kB / 1.006 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.01182, allocations: 7.938 kB / 1.006 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.779e-05/0.01189, allocations: 95.27 kB / 1.006 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.01189, allocations: 0 / 1.006 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000242/0.01213, allocations: 31.94 kB / 1.006 GB, free: 1.09 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001642/0.0123, allocations: 99.23 kB / 1.006 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004386/0.01273, allocations: 189 kB / 1.006 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01274, allocations: 0 / 1.006 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.01287, allocations: 36.11 kB / 1.006 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.0131, allocations: 12.69 kB / 1.006 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.01351, allocations: 177.5 kB / 1.006 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.546e-05/0.01359, allocations: 71.33 kB / 1.006 GB, free: 452 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.316e-05/0.01362, allocations: 7.984 kB / 1.006 GB, free: 444 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.01366, allocations: 20.5 kB / 1.006 GB, free: 424 kB / 0.9512 GB Notification: Performance of SimCode: time 4.01e-07/0.01366, allocations: 0 / 1.006 GB, free: 424 kB / 0.9512 GB Notification: Performance of Templates: time 0.005029/0.01869, allocations: 1.759 MB / 1.008 GB, free: 14.68 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.836469482630491]