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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=5000,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=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_10_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.001326/0.001326, allocations: 110.3 kB / 16.41 MB, free: 6.48 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.001363/0.001363, allocations: 183 kB / 17.34 MB, free: 5.75 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.278/1.278, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.385/2.385, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 56.12 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8005/0.8018, allocations: 151.6 MB / 1.167 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001803/0.8037, allocations: 0.8775 MB / 1.168 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008918/0.8046, allocations: 0.874 MB / 1.169 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.485e-05/0.8046, allocations: 8 kB / 1.169 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.294e-05/0.8047, allocations: 7.875 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.418e-05/0.8048, allocations: 15.8 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.8049, allocations: 43.95 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.8051, allocations: 107.6 kB / 1.169 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.8052, allocations: 41.09 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.742e-05/0.8053, allocations: 43.84 kB / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.316e-05/0.8054, allocations: 51.77 kB / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.8054, allocations: 12 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.739e-05/0.8054, allocations: 12 kB / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.362e-05/0.8055, allocations: 23.86 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.513e-05/0.8055, allocations: 47.73 kB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.8057, allocations: 124.5 kB / 1.17 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.8057, allocations: 0 / 1.17 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8057, allocations: 0 / 1.17 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.8057, allocations: 4 kB / 1.17 GB, free: 1.691 MB / 0.8887 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.0008109/0.8065, allocations: 466.8 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.8066, allocations: 8.922 kB / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.8066, allocations: 16.84 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.8067, allocations: 190.4 kB / 1.17 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.8068, allocations: 8.359 kB / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.8068, allocations: 8.375 kB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.807, allocations: 96.59 kB / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.807, allocations: 192 / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.807, allocations: 7.938 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.807, allocations: 4 kB / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.8072, allocations: 67.89 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006833/0.8079, allocations: 400.5 kB / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.8081, allocations: 66.44 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.111e-05/0.8081, allocations: 36.97 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.8082, allocations: 0 / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.8082, allocations: 38.56 kB / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.8082, allocations: 0 / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.0003318/0.8085, allocations: 109.6 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.8086, allocations: 51.41 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.8087, allocations: 164.1 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.8087, allocations: 29.7 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.645e-05/0.8088, allocations: 108.1 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.8088, allocations: 19.91 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.8089, allocations: 25.7 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.68e-05/0.809, allocations: 314.8 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.41e-05/0.809, allocations: 35.97 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.351e-05/0.8091, allocations: 27.98 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.8093, allocations: 48.83 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8093, allocations: 0 / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001928/0.8095, allocations: 93.62 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.8095, allocations: 4 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.8095, allocations: 0 / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.8095, allocations: 0 / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.951e-05/0.8096, allocations: 15.92 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.8096, allocations: 7.938 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.8098, allocations: 27.92 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.8098, allocations: 240 / 1.172 GB, free: 15.02 MB / 0.9044 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 8.452e-05/0.8099, allocations: 121.8 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.8099, allocations: 11.94 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.81, allocations: 12.31 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.81, allocations: 4 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.81, allocations: 3.938 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.81, allocations: 0 / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.8102, allocations: 197.6 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.8102, allocations: 0 / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.506e-05/0.8103, allocations: 15.92 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.8103, allocations: 0 / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.8103, allocations: 0 / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.8103, allocations: 0 / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.8103, allocations: 7.938 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.8106, allocations: 187.7 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.8106, allocations: 92.95 kB / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.8106, allocations: 4.062 kB / 1.173 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.8108, allocations: 31.95 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.8109, allocations: 27.84 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.8109, allocations: 0 / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.582e-05/0.811, allocations: 113.5 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.811, allocations: 0 / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002262/0.8112, allocations: 16 kB / 1.173 GB, free: 14.1 MB / 0.9044 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.0001039/0.8114, allocations: 103.2 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002071/0.8116, allocations: 71.89 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.8116, allocations: 0 / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.094e-05/0.8117, allocations: 39.97 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.812, allocations: 8 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.8124, allocations: 229.2 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.8126, allocations: 0.7002 MB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.8127, allocations: 15.42 kB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.8127, allocations: 0 / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of Templates: time 0.002559/0.8152, allocations: 1.296 MB / 1.175 GB, free: 11.58 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches