Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 114.2 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 186.7 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.574/2.574, allocations: 443.4 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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.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_10_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_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.89 kB / 1.061 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7627/0.7647, allocations: 160.8 MB / 1.218 GB, free: 3.773 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002413/0.7671, allocations: 0.8879 MB / 1.219 GB, free: 3.102 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.7684, allocations: 0.8775 MB / 1.22 GB, free: 2.383 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.7685, allocations: 2 kB / 1.22 GB, free: 2.383 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.332e-05/0.7686, allocations: 11.88 kB / 1.22 GB, free: 2.371 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.7687, allocations: 18.05 kB / 1.22 GB, free: 2.355 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.7689, allocations: 45.23 kB / 1.22 GB, free: 2.316 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.7691, allocations: 108.4 kB / 1.22 GB, free: 2.25 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.7692, allocations: 35.91 kB / 1.22 GB, free: 2.227 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.7693, allocations: 52.81 kB / 1.22 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.7695, allocations: 47.95 kB / 1.22 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.7695, allocations: 11.25 kB / 1.221 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.587e-05/0.7695, allocations: 13.97 kB / 1.221 GB, free: 2.152 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.022e-05/0.7696, allocations: 23.48 kB / 1.221 GB, free: 2.133 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.207e-05/0.7696, allocations: 54.16 kB / 1.221 GB, free: 2.09 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.7698, allocations: 122 kB / 1.221 GB, free: 2 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.7699, allocations: 3.984 kB / 1.221 GB, free: 1.996 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7699, allocations: 0 / 1.221 GB, free: 1.996 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.7699, allocations: 1.031 kB / 1.221 GB, free: 1.996 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001018/0.7709, allocations: 463.7 kB / 1.221 GB, free: 1.555 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.7709, allocations: 13.62 kB / 1.221 GB, free: 1.551 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.455e-05/0.771, allocations: 14.16 kB / 1.221 GB, free: 1.543 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.7712, allocations: 187.6 kB / 1.221 GB, free: 1.328 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.7712, allocations: 10.53 kB / 1.221 GB, free: 1.32 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.7712, allocations: 9.594 kB / 1.221 GB, free: 1.316 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.7714, allocations: 97.95 kB / 1.221 GB, free: 1.246 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.7714, allocations: 192 / 1.221 GB, free: 1.246 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.7715, allocations: 9.078 kB / 1.221 GB, free: 1.238 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.7715, allocations: 1.094 kB / 1.221 GB, free: 1.238 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.7716, allocations: 71.56 kB / 1.222 GB, free: 1.203 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008039/0.7725, allocations: 398.7 kB / 1.222 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.7726, allocations: 66.36 kB / 1.222 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.573e-05/0.7727, allocations: 26.47 kB / 1.222 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.7727, allocations: 9.172 kB / 1.222 GB, free: 0.75 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.7727, allocations: 32 kB / 1.222 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.7727, allocations: 4 kB / 1.222 GB, free: 0.707 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0003759/0.7731, allocations: 110.7 kB / 1.222 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.7732, allocations: 56.41 kB / 1.222 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.7733, allocations: 157.2 kB / 1.222 GB, free: 452 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.7733, allocations: 25.7 kB / 1.222 GB, free: 420 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.7734, allocations: 105.1 kB / 1.222 GB, free: 316 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.7734, allocations: 22.28 kB / 1.223 GB, free: 296 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.7735, allocations: 23.22 kB / 1.223 GB, free: 272 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.7736, allocations: 321.9 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.931e-05/0.7737, allocations: 27.08 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.941e-05/0.7738, allocations: 28.02 kB / 1.223 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.7739, allocations: 49.17 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7739, allocations: 0 / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002193/0.7742, allocations: 105 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.7742, allocations: 4.469 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7742, allocations: 1.312 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.7742, allocations: 0 / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.679e-05/0.7743, allocations: 10.3 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.7743, allocations: 4.938 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.7745, allocations: 29.77 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.7745, allocations: 1.562 kB / 1.223 GB, free: 15.8 MB / 0.9356 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 (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 prepare postOptimizeDAE: time 0.0001085/0.7746, allocations: 127.6 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.7746, allocations: 8.328 kB / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.7747, allocations: 14.58 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.7747, allocations: 5.062 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.7747, allocations: 3.938 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.7747, allocations: 4 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.7749, allocations: 204.2 kB / 1.223 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7749, allocations: 0 / 1.223 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.678e-05/0.775, allocations: 6.281 kB / 1.223 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.775, allocations: 3.938 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.775, allocations: 9.078 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.775, allocations: 1.094 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.775, allocations: 7.938 kB / 1.223 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.7753, allocations: 186 kB / 1.224 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.97e-05/0.7753, allocations: 91.05 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.7753, allocations: 1.188 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.7756, allocations: 21.88 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/0.7756, allocations: 20.59 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.7756, allocations: 6.062 kB / 1.224 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.707e-05/0.7757, allocations: 117.8 kB / 1.224 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.7757, allocations: 0 / 1.224 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002468/0.776, allocations: 17.31 kB / 1.224 GB, free: 15 MB / 0.9356 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 (5): * Single equations (assignments): 5 * 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 0.0001174/0.7761, allocations: 99.92 kB / 1.224 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.7763, allocations: 64 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.7763, allocations: 4 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.877e-05/0.7764, allocations: 34.03 kB / 1.224 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.7768, allocations: 13.55 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004883/0.7772, allocations: 214 kB / 1.224 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.7776, allocations: 0.6973 MB / 1.225 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.945e-05/0.7776, allocations: 12.14 kB / 1.225 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.309e-05/0.7777, allocations: 15.38 kB / 1.225 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of SimCode: time 3.4e-07/0.7777, allocations: 0 / 1.225 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of Templates: time 0.004791/0.7825, allocations: 1.393 MB / 1.226 GB, free: 13.25 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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: 8.208033768460155]