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.001131/0.001131, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001859/0.00299, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001101/0.001101, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001549/0.00265, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9821/0.9821, allocations: 177.2 MB / 189.7 MB, free: 5.223 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0981/1.08, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.391/2.391, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2431/2.634, allocations: 146 MB / 0.8176 GB, free: 3.812 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.634e-06/1.634e-06, allocations: 0 / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.117e-05, allocations: 5.266 kB / 0.8189 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002573/0.002604, allocations: 0.8649 MB / 0.8198 GB, free: 1.609 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001588/0.004192, allocations: 1.205 MB / 0.8209 GB, free: 400 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.897e-05/0.004251, allocations: 4 kB / 0.821 GB, free: 396 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.413e-05/0.004286, allocations: 3.938 kB / 0.821 GB, free: 392 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.292e-05/0.004348, allocations: 15.84 kB / 0.821 GB, free: 376 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.004768, allocations: 139.6 kB / 0.8211 GB, free: 236 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.004987, allocations: 143.7 kB / 0.8212 GB, free: 92 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.00509, allocations: 27.88 kB / 0.8213 GB, free: 64 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.005262, allocations: 88 kB / 0.8214 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.005369, allocations: 51.78 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.005399, allocations: 19.94 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.643e-05/0.005486, allocations: 20 kB / 0.8214 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.009e-05/0.005516, allocations: 15.94 kB / 0.8215 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.457e-05/0.00557, allocations: 35.92 kB / 0.8215 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.005759, allocations: 95.73 kB / 0.8216 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.411e-05/0.005774, allocations: 0 / 0.8216 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.002e-06/0.005775, allocations: 0 / 0.8216 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.005788, allocations: 0 / 0.8216 GB, free: 15.74 MB / 0.8073 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.0005853/0.006373, allocations: 345.9 kB / 0.8219 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.006408, allocations: 8.031 kB / 0.8219 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.006457, allocations: 20.92 kB / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.899e-05/0.006556, allocations: 117.7 kB / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.006574, allocations: 4.375 kB / 0.8221 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.006605, allocations: 12.38 kB / 0.8221 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.006753, allocations: 75.66 kB / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.006761, allocations: 192 / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.006773, allocations: 8.375 kB / 0.8221 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.00678, allocations: 384 / 0.8221 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.308e-05/0.006823, allocations: 23.86 kB / 0.8222 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.007205, allocations: 208.1 kB / 0.8224 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.729e-05/0.007283, allocations: 30.5 kB / 0.8224 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.007306, allocations: 20.8 kB / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.007317, allocations: 4 kB / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001029/0.007419, allocations: 63.42 kB / 0.8225 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.007421, allocations: 0 / 0.8225 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001546/0.007576, allocations: 65.61 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.007609, allocations: 51.41 kB / 0.8226 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.429e-05/0.007693, allocations: 123 kB / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.007725, allocations: 41.69 kB / 0.8227 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.00778, allocations: 92.08 kB / 0.8228 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.007803, allocations: 19.83 kB / 0.8229 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.508e-05/0.007879, allocations: 37.67 kB / 0.8229 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.007985, allocations: 322.8 kB / 0.8232 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.287e-05/0.008058, allocations: 53.67 kB / 0.8233 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.379e-05/0.008152, allocations: 98.83 kB / 0.8233 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.008253, allocations: 84.25 kB / 0.8234 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.008257, allocations: 4 kB / 0.8234 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002068/0.008464, allocations: 164.9 kB / 0.8236 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.429e-05/0.008518, allocations: 41.69 kB / 0.8236 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.008525, allocations: 0 / 0.8236 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.008542, allocations: 4 kB / 0.8236 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.234e-05/0.008625, allocations: 7.938 kB / 0.8236 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.008629, allocations: 3.938 kB / 0.8236 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.008758, allocations: 35.91 kB / 0.8237 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.008781, allocations: 7.984 kB / 0.8237 GB, free: 13.36 MB / 0.8073 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 9.607e-05/0.008878, allocations: 118.9 kB / 0.8238 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/0.008895, allocations: 7.938 kB / 0.8238 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/0.008926, allocations: 8.438 kB / 0.8238 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.00893, allocations: 7.984 kB / 0.8238 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-06/0.008932, allocations: 0 / 0.8238 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.008936, allocations: 0 / 0.8238 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.009042, allocations: 81.88 kB / 0.8239 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.009045, allocations: 0 / 0.8239 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-05/0.009091, allocations: 4 kB / 0.8239 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.309e-05/0.009104, allocations: 7.938 kB / 0.8239 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.009109, allocations: 7.984 kB / 0.8239 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.009116, allocations: 0 / 0.8239 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.009118, allocations: 320 / 0.8239 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.00912, allocations: 0 / 0.8239 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.009258, allocations: 85.05 kB / 0.824 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.009284, allocations: 11.92 kB / 0.824 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.337e-05/0.009328, allocations: 4 kB / 0.824 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.009382, allocations: 15.97 kB / 0.824 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.009389, allocations: 0 / 0.824 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.218e-05/0.009422, allocations: 20.89 kB / 0.824 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009422, allocations: 0 / 0.824 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002001/0.009622, allocations: 31.89 kB / 0.8241 GB, free: 12.9 MB / 0.8073 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.0001959/0.009818, allocations: 84.42 kB / 0.8242 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.01004, allocations: 153.8 kB / 0.8243 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.01004, allocations: 4 kB / 0.8243 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.773e-05/0.01009, allocations: 20.86 kB / 0.8243 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.01027, allocations: 98.27 kB / 0.8244 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009794/0.01125, allocations: 185 kB / 0.8246 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.974e-05/0.0113, allocations: 63.2 kB / 0.8247 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.74e-05/0.01134, allocations: 4 kB / 0.8247 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.01146, allocations: 67.36 kB / 0.8247 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of SimCode: time 1.202e-06/0.01146, allocations: 0 / 0.8247 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of Templates: time 0.005305/0.01676, allocations: 1.933 MB / 0.8266 GB, free: 10.25 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.115659572184086]