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.001139/0.001139, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001766/0.002905, allocations: 435.8 kB / 10.33 MB, free: 364 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.001202/0.001202, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001585/0.002787, allocations: 463.6 kB / 11.68 MB, free: 2.48 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 1.008/1.008, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1014/1.11, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.387/2.387, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2456/2.633, allocations: 145.9 MB / 0.817 GB, free: 4.219 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.653e-06/1.653e-06, allocations: 0 / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/2.027e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001703/0.001724, allocations: 0.8571 MB / 0.8191 GB, free: 2.051 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.002925, allocations: 1.209 MB / 0.8203 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.419e-05/0.002969, allocations: 0 / 0.8203 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.002998, allocations: 7.875 kB / 0.8203 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.004e-05/0.003048, allocations: 19.84 kB / 0.8203 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.003375, allocations: 135.6 kB / 0.8205 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.000182/0.003557, allocations: 143.7 kB / 0.8206 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.244e-05/0.00365, allocations: 31.8 kB / 0.8206 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.003778, allocations: 83.88 kB / 0.8207 GB, free: 424 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.803e-05/0.003866, allocations: 55.84 kB / 0.8208 GB, free: 368 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.003895, allocations: 16 kB / 0.8208 GB, free: 352 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.468e-05/0.003969, allocations: 20 kB / 0.8208 GB, free: 332 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.003992, allocations: 15.94 kB / 0.8208 GB, free: 316 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.68e-05/0.004039, allocations: 27.94 kB / 0.8208 GB, free: 288 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.004207, allocations: 103.7 kB / 0.8209 GB, free: 184 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.259e-05/0.00423, allocations: 0 / 0.8209 GB, free: 184 kB / 0.7917 GB Notification: Performance of FrontEnd: time 9.62e-07/0.004231, allocations: 0 / 0.8209 GB, free: 184 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.819e-05/0.004249, allocations: 0 / 0.8209 GB, free: 184 kB / 0.7917 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.0005149/0.004764, allocations: 342 kB / 0.8213 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.004798, allocations: 16.62 kB / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.004841, allocations: 16.92 kB / 0.8213 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.093e-05/0.004922, allocations: 113.8 kB / 0.8214 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.004936, allocations: 4.375 kB / 0.8214 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.004957, allocations: 16.31 kB / 0.8214 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.005082, allocations: 79.66 kB / 0.8215 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.005089, allocations: 192 / 0.8215 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.005097, allocations: 384 / 0.8215 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.005102, allocations: 384 / 0.8215 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.82e-05/0.00514, allocations: 19.94 kB / 0.8215 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.005471, allocations: 220.1 kB / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.736e-05/0.005538, allocations: 30.56 kB / 0.8218 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.959e-05/0.005558, allocations: 16.73 kB / 0.8218 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.303e-06/0.005565, allocations: 0 / 0.8218 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/0.005668, allocations: 71.36 kB / 0.8219 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.005669, allocations: 0 / 0.8219 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001345/0.005804, allocations: 57.69 kB / 0.8219 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.005839, allocations: 59.39 kB / 0.822 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.798e-05/0.005907, allocations: 118.7 kB / 0.8221 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.005929, allocations: 37.7 kB / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.005969, allocations: 96.06 kB / 0.8222 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.005987, allocations: 19.83 kB / 0.8222 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.006048, allocations: 37.67 kB / 0.8223 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.441e-05/0.006122, allocations: 318.8 kB / 0.8226 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.283e-05/0.006185, allocations: 57.62 kB / 0.8226 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.298e-05/0.006258, allocations: 102.8 kB / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.098e-05/0.006339, allocations: 84.23 kB / 0.8228 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.006342, allocations: 0 / 0.8228 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002406/0.006583, allocations: 168.9 kB / 0.823 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/0.006619, allocations: 37.69 kB / 0.823 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.006625, allocations: 4 kB / 0.823 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.006635, allocations: 0 / 0.823 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.448e-05/0.006699, allocations: 4 kB / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.006705, allocations: 8.062 kB / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.006807, allocations: 27.92 kB / 0.823 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.006821, allocations: 4 kB / 0.823 GB, free: 13.8 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 6.637e-05/0.006887, allocations: 125 kB / 0.8232 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.006901, allocations: 7.938 kB / 0.8232 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.006931, allocations: 12.44 kB / 0.8232 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.006933, allocations: 0 / 0.8232 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.006934, allocations: 0 / 0.8232 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.006938, allocations: 3.984 kB / 0.8232 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.433e-05/0.007022, allocations: 89.8 kB / 0.8233 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.007024, allocations: 3.938 kB / 0.8233 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.035e-05/0.007064, allocations: 8 kB / 0.8233 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.007072, allocations: 3.938 kB / 0.8233 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.007074, allocations: 4 kB / 0.8233 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.00708, allocations: 4.312 kB / 0.8233 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.007083, allocations: 3.984 kB / 0.8233 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.007086, allocations: 4 kB / 0.8233 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.883e-05/0.007175, allocations: 73.11 kB / 0.8234 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.007194, allocations: 7.938 kB / 0.8234 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.354e-05/0.007227, allocations: 7.984 kB / 0.8234 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.007266, allocations: 11.98 kB / 0.8234 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.007273, allocations: 3.984 kB / 0.8234 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.141e-05/0.007295, allocations: 21.17 kB / 0.8234 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.007295, allocations: 4 kB / 0.8234 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00017/0.007465, allocations: 31.89 kB / 0.8235 GB, free: 13.34 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.0001193/0.007584, allocations: 88.41 kB / 0.8235 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000157/0.007741, allocations: 137.9 kB / 0.8237 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.007745, allocations: 4 kB / 0.8237 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.29e-05/0.007778, allocations: 24.78 kB / 0.8237 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001142/0.007893, allocations: 16.11 kB / 0.8237 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007916/0.008684, allocations: 188.8 kB / 0.8239 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.262e-05/0.008717, allocations: 59.22 kB / 0.8239 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.095e-05/0.008748, allocations: 7.984 kB / 0.824 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.967e-05/0.008837, allocations: 67.36 kB / 0.824 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of SimCode: time 7.12e-07/0.008838, allocations: 0 / 0.824 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of Templates: time 0.003887/0.01273, allocations: 1.943 MB / 0.8259 GB, free: 10.77 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.254851401783526]