Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.001162/0.001162, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001688/0.002849, 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.001118/0.001118, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001486/0.002604, 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.9362/0.9362, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1059/1.042, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.309/2.309, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2279/2.537, allocations: 146 MB / 0.8176 GB, free: 3.828 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.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.8189 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.719e-06/1.088e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.00129/0.001301, allocations: 0.9621 MB / 0.8199 GB, free: 1.531 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007497/0.002051, allocations: 0.9598 MB / 0.8208 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.117e-05/0.002092, allocations: 0 / 0.8208 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.593e-05/0.002118, allocations: 7.875 kB / 0.8208 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.915e-05/0.002167, allocations: 19.73 kB / 0.8208 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001016/0.002269, allocations: 51.88 kB / 0.8209 GB, free: 492 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.002371, allocations: 123.6 kB / 0.821 GB, free: 368 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.489e-05/0.002466, allocations: 46.33 kB / 0.821 GB, free: 316 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.002625, allocations: 107.6 kB / 0.8211 GB, free: 208 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.506e-05/0.0027, allocations: 43.88 kB / 0.8212 GB, free: 164 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.00272, allocations: 12 kB / 0.8212 GB, free: 152 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 5.122e-05/0.002772, allocations: 12 kB / 0.8212 GB, free: 140 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.002791, allocations: 19.94 kB / 0.8212 GB, free: 120 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.002816, allocations: 31.88 kB / 0.8213 GB, free: 88 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.00293, allocations: 79.62 kB / 0.8213 GB, free: 8 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.189e-05/0.002942, allocations: 0 / 0.8213 GB, free: 8 kB / 0.7917 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002942, allocations: 0 / 0.8213 GB, free: 8 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.002954, allocations: 4 kB / 0.8213 GB, free: 4 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004195/0.003374, allocations: 336 kB / 0.8217 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.003405, allocations: 12.03 kB / 0.8217 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.003574, allocations: 106 kB / 0.8218 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.00371, allocations: 152.3 kB / 0.8219 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.003722, allocations: 8.375 kB / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.003737, allocations: 4.375 kB / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.003856, allocations: 93.81 kB / 0.822 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.003862, allocations: 192 / 0.822 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.003872, allocations: 11.94 kB / 0.822 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.003877, allocations: 0 / 0.822 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.582e-05/0.003912, allocations: 19.98 kB / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002629/0.004175, allocations: 235.9 kB / 0.8223 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.004282, allocations: 54.48 kB / 0.8223 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.004301, allocations: 12.86 kB / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.004314, allocations: 4 kB / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.004334, allocations: 34.55 kB / 0.8224 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 6.71e-07/0.004334, allocations: 0 / 0.8224 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.000114/0.004448, allocations: 61.67 kB / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.004478, allocations: 59.34 kB / 0.8225 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.423e-05/0.004552, allocations: 146.7 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.00457, allocations: 29.7 kB / 0.8227 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.004612, allocations: 104.2 kB / 0.8228 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.004631, allocations: 23.83 kB / 0.8228 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.004662, allocations: 25.7 kB / 0.8228 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.633e-05/0.004739, allocations: 322.8 kB / 0.8231 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/0.004754, allocations: 8 kB / 0.8231 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.46e-05/0.004768, allocations: 8 kB / 0.8231 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.489e-05/0.004803, allocations: 28.83 kB / 0.8231 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.004805, allocations: 3.938 kB / 0.8232 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 5.655e-05/0.004861, allocations: 57.62 kB / 0.8232 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.004871, allocations: 9.406 kB / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.004875, allocations: 0 / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.004886, allocations: 0 / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.93e-05/0.004935, allocations: 11.98 kB / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.00494, allocations: 7.938 kB / 0.8232 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.733e-05/0.004967, allocations: 11.94 kB / 0.8232 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.004973, allocations: 7.938 kB / 0.8233 GB, free: 13.86 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 5.334e-05/0.005026, allocations: 113.8 kB / 0.8234 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.005041, allocations: 8 kB / 0.8234 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.005063, allocations: 12.77 kB / 0.8234 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.005065, allocations: 4 kB / 0.8234 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.005067, allocations: 0 / 0.8234 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.00507, allocations: 3.938 kB / 0.8234 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.197e-05/0.005162, allocations: 97.78 kB / 0.8235 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.005162, allocations: 0 / 0.8235 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.793e-05/0.00519, allocations: 12 kB / 0.8235 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-06/0.005199, allocations: 7.938 kB / 0.8235 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.005201, allocations: 4 kB / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-06/0.005206, allocations: 4 kB / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.005207, allocations: 0 / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.005207, allocations: 0 / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.705e-05/0.005295, allocations: 159.4 kB / 0.8237 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.005311, allocations: 4 kB / 0.8237 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.678e-05/0.005347, allocations: 0 / 0.8237 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.005386, allocations: 19.97 kB / 0.8237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-06/0.00539, allocations: 3.984 kB / 0.8237 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.788e-05/0.005418, allocations: 39.39 kB / 0.8237 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005418, allocations: 0 / 0.8237 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001146/0.005532, allocations: 15.95 kB / 0.8237 GB, free: 13.32 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 6.494e-05/0.005597, allocations: 88.42 kB / 0.8238 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.448e-05/0.005672, allocations: 36.72 kB / 0.8239 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.005678, allocations: 4 kB / 0.8239 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.934e-05/0.005707, allocations: 20.84 kB / 0.8239 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.005854, allocations: 49.69 kB / 0.8239 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.006979, allocations: 228.6 kB / 0.8242 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.615e-05/0.007015, allocations: 63.34 kB / 0.8242 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.339e-05/0.007049, allocations: 7.984 kB / 0.8242 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.676e-05/0.007106, allocations: 59.38 kB / 0.8243 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of SimCode: time 5.31e-07/0.007106, allocations: 0 / 0.8243 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of Templates: time 0.002407/0.009514, allocations: 1.153 MB / 0.8254 GB, free: 11.56 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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: 4.967766531743109]