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.01121/0.01121, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001622/0.001623, allocations: 191 kB / 16.67 MB, free: 5.969 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.285/2.285, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 63.91 kB / 0.9508 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7818/0.7829, allocations: 140.4 MB / 1.088 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001862/0.7848, allocations: 0.8725 MB / 1.089 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008334/0.7857, allocations: 0.8668 MB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.745e-05/0.7858, allocations: 2.094 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.589e-05/0.7858, allocations: 9.141 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.7859, allocations: 24.47 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.7861, allocations: 38.62 kB / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.7862, allocations: 110.6 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.7864, allocations: 39.05 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.7865, allocations: 41.55 kB / 1.09 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.185e-05/0.7866, allocations: 60.56 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.7866, allocations: 10.03 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.801e-05/0.7866, allocations: 14.75 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.633e-05/0.7867, allocations: 23.19 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.7867, allocations: 46.62 kB / 1.09 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.7869, allocations: 133.9 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.7869, allocations: 1.281 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7869, allocations: 0 / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.7869, allocations: 0 / 1.09 GB, free: 3.98 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.0007561/0.7877, allocations: 458.4 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.7877, allocations: 10.05 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.7878, allocations: 14.31 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.201e-05/0.7879, allocations: 184.7 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.7879, allocations: 11.84 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.7879, allocations: 5.031 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.7881, allocations: 91.8 kB / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.7881, allocations: 192 / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.7881, allocations: 13 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.7881, allocations: 2.188 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.7883, allocations: 64.41 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006456/0.789, allocations: 402.1 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.7891, allocations: 65.64 kB / 1.091 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.077e-05/0.7892, allocations: 31.38 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.7892, allocations: 0.9062 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.7893, allocations: 36.02 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.7893, allocations: 0.7188 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.000331/0.7896, allocations: 109.7 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.095e-05/0.7896, allocations: 52.64 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.7898, allocations: 154.1 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.7898, allocations: 31.36 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.7898, allocations: 112.1 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.7899, allocations: 19.3 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.7899, allocations: 21.75 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.71e-05/0.79, allocations: 321 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.886e-05/0.7901, allocations: 35.22 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.867e-05/0.7901, allocations: 33.19 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.7903, allocations: 52.11 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7903, allocations: 0.875 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001963/0.7905, allocations: 93.88 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.7905, allocations: 5.594 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.7905, allocations: 0.5156 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.7905, allocations: 0.6562 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.637e-05/0.7906, allocations: 17.23 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.7907, allocations: 4.562 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.7908, allocations: 30.8 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.7908, allocations: 2.906 kB / 1.093 GB, free: 1.996 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 6.541e-05/0.7909, allocations: 120.4 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.791, allocations: 8.719 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.791, allocations: 12.08 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.791, allocations: 5.281 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.791, allocations: 3.938 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.791, allocations: 1.641 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.7912, allocations: 199.1 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7912, allocations: 0 / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.903e-05/0.7913, allocations: 9.781 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.7913, allocations: 0 / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.7913, allocations: 2.406 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.7913, allocations: 4 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.7913, allocations: 5.594 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.7916, allocations: 188.1 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.422e-05/0.7916, allocations: 88.2 kB / 1.093 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.7916, allocations: 2.531 kB / 1.093 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.7918, allocations: 29.97 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.7919, allocations: 17.91 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.7919, allocations: 2.859 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.51e-05/0.792, allocations: 117.8 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.792, allocations: 0 / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002343/0.7922, allocations: 12.22 kB / 1.093 GB, free: 1.281 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 8.461e-05/0.7923, allocations: 99.22 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.7925, allocations: 74.22 kB / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7925, allocations: 3.938 kB / 1.093 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.144e-05/0.7926, allocations: 32.98 kB / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.793, allocations: 13.77 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.7934, allocations: 203.4 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.7935, allocations: 0.6999 MB / 1.094 GB, free: 296 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.126e-05/0.7935, allocations: 6.672 kB / 1.094 GB, free: 296 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.246e-05/0.7936, allocations: 11.77 kB / 1.094 GB, free: 288 kB / 0.8575 GB Notification: Performance of SimCode: time 3.41e-07/0.7936, allocations: 0 / 1.094 GB, free: 288 kB / 0.8575 GB Notification: Performance of Templates: time 0.003966/0.7976, allocations: 1.376 MB / 1.096 GB, free: 156 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/jenkins/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