Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 103.5 kB / 16.4 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 190.8 kB / 17.34 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.266/2.266, allocations: 390.2 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 67.89 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8795/0.881, allocations: 140.4 MB / 1.089 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002038/0.8831, allocations: 0.8774 MB / 1.089 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009993/0.8841, allocations: 0.872 MB / 1.09 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.891e-05/0.8842, allocations: 1.094 kB / 1.09 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.076e-05/0.8842, allocations: 10.19 kB / 1.09 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.8843, allocations: 19.94 kB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.8845, allocations: 34.72 kB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.8847, allocations: 114.6 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.8849, allocations: 35.31 kB / 1.091 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.885, allocations: 54.08 kB / 1.091 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.8851, allocations: 52.34 kB / 1.091 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.8852, allocations: 9.656 kB / 1.091 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.235e-05/0.8852, allocations: 11.12 kB / 1.091 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.729e-05/0.8852, allocations: 23.02 kB / 1.091 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.36e-05/0.8853, allocations: 50.31 kB / 1.091 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.8855, allocations: 132.4 kB / 1.091 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.8855, allocations: 0.5625 kB / 1.091 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8855, allocations: 0 / 1.091 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.8856, allocations: 0 / 1.091 GB, free: 4.262 MB / 0.8575 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.0008907/0.8865, allocations: 461.5 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.8865, allocations: 9.422 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.8866, allocations: 14.53 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.8867, allocations: 186.1 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.8867, allocations: 7.156 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.8867, allocations: 8.375 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.887, allocations: 97.89 kB / 1.092 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.887, allocations: 192 / 1.092 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.887, allocations: 9.938 kB / 1.092 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.887, allocations: 1.703 kB / 1.092 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.8872, allocations: 61 kB / 1.092 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007596/0.888, allocations: 410.8 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.8881, allocations: 60.25 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.682e-05/0.8882, allocations: 33.48 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.8883, allocations: 0 / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.8883, allocations: 32.23 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.8883, allocations: 1.125 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0003769/0.8887, allocations: 116.4 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.8887, allocations: 53.2 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.8889, allocations: 157.6 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.8889, allocations: 27.17 kB / 1.093 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.8889, allocations: 104.6 kB / 1.093 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.889, allocations: 19.16 kB / 1.093 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/0.889, allocations: 22.06 kB / 1.093 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.129e-05/0.8891, allocations: 324.5 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.072e-05/0.8892, allocations: 28.2 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.295e-05/0.8893, allocations: 32.52 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.8894, allocations: 52.59 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8894, allocations: 3.938 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002003/0.8896, allocations: 94.59 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.8897, allocations: 10.23 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.8897, allocations: 0 / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.929e-05/0.8897, allocations: 4.844 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.733e-05/0.8898, allocations: 8.812 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.8898, allocations: 5.328 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.89, allocations: 30.59 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.89, allocations: 6.141 kB / 1.093 GB, free: 2.27 MB / 0.8575 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 7.635e-05/0.8901, allocations: 116.3 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.8901, allocations: 7.375 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.024e-05/0.8902, allocations: 21.62 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.8902, allocations: 0.75 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.8902, allocations: 3.938 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.8902, allocations: 1.516 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.8904, allocations: 194.4 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.8904, allocations: 1.297 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-05/0.8905, allocations: 12.31 kB / 1.094 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.8905, allocations: 0.75 kB / 1.094 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.8905, allocations: 2.5 kB / 1.094 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.8905, allocations: 4.812 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.8905, allocations: 3.938 kB / 1.094 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.8907, allocations: 182.1 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.8908, allocations: 95.73 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.8908, allocations: 5.828 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.891, allocations: 22.06 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.8911, allocations: 22.16 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.8911, allocations: 2.703 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.649e-05/0.8912, allocations: 116.5 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8912, allocations: 4.688 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002384/0.8914, allocations: 12.38 kB / 1.094 GB, free: 1.551 MB / 0.8575 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.0001076/0.8915, allocations: 103.7 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002551/0.8918, allocations: 62.09 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8918, allocations: 1.188 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.774e-05/0.8919, allocations: 35.77 kB / 1.094 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.8923, allocations: 21.17 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004553/0.8927, allocations: 219.9 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.8929, allocations: 0.697 MB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.391e-05/0.8929, allocations: 17.44 kB / 1.095 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of SimCode: time 4.31e-07/0.8929, allocations: 0 / 1.095 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of Templates: time 0.003607/0.8966, allocations: 1.302 MB / 1.096 GB, free: 428 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches