Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005429/0.005429, allocations: 98.58 kB / 15.73 MB, free: 5.527 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.001178/0.001178, allocations: 187.4 kB / 16.67 MB, free: 5.465 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.781/2.781, allocations: 469.8 MB / 0.7425 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 67.89 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2986, allocations: 159.1 MB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002047/0.3006, allocations: 0.9167 MB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009857/0.3016, allocations: 0.8974 MB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.729e-05/0.3016, allocations: 0 / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/0.3017, allocations: 11.86 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.439e-05/0.3018, allocations: 19.8 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.3019, allocations: 39.89 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.3021, allocations: 131.7 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.3022, allocations: 37.52 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.3023, allocations: 55.78 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.91e-05/0.3024, allocations: 55.75 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.3024, allocations: 19.94 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.927e-05/0.3025, allocations: 12 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.395e-05/0.3025, allocations: 27.92 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.304e-05/0.3025, allocations: 59.66 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.3027, allocations: 155.4 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3027, allocations: 0 / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3027, allocations: 0 / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3027, allocations: 0 / 1.223 GB, free: 11.33 MB / 0.9825 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.0005581/0.3033, allocations: 434.8 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3033, allocations: 12.03 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.3034, allocations: 12.84 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.3036, allocations: 221.9 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.3036, allocations: 8.375 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.3037, allocations: 11.94 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.3039, allocations: 111.5 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3039, allocations: 0 / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.3039, allocations: 0 / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.3039, allocations: 4 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.3041, allocations: 71.89 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005388/0.3046, allocations: 400.6 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.3049, allocations: 82.66 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.548e-05/0.305, allocations: 40.84 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.305, allocations: 0 / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.305, allocations: 34.5 kB / 1.224 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.305, allocations: 4 kB / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000351/0.3054, allocations: 121.5 kB / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.3054, allocations: 59.34 kB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.3055, allocations: 157.5 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.3056, allocations: 29.7 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/0.3056, allocations: 116.2 kB / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.3056, allocations: 20.03 kB / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.3057, allocations: 29.72 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.3058, allocations: 318.8 kB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.125e-05/0.3059, allocations: 35.97 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.626e-05/0.306, allocations: 54.5 kB / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.3061, allocations: 52.83 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3061, allocations: 4.031 kB / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000209/0.3063, allocations: 117.4 kB / 1.225 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3063, allocations: 8 kB / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3064, allocations: 288 / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3064, allocations: 0 / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.464e-05/0.3064, allocations: 11.98 kB / 1.225 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3065, allocations: 3.938 kB / 1.225 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.993e-05/0.3065, allocations: 15.92 kB / 1.225 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.3066, allocations: 8.312 kB / 1.225 GB, free: 8.539 MB / 0.9825 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 9.208e-05/0.3066, allocations: 118.4 kB / 1.226 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.3067, allocations: 19.78 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.679e-05/0.3067, allocations: 16.72 kB / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3067, allocations: 0 / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3067, allocations: 3.984 kB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3067, allocations: 3.984 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.3069, allocations: 205.6 kB / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3069, allocations: 4 kB / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.984e-05/0.307, allocations: 19.92 kB / 1.226 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.307, allocations: 0 / 1.226 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.307, allocations: 0 / 1.226 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.307, allocations: 8 kB / 1.226 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.307, allocations: 0 / 1.226 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.3072, allocations: 195.4 kB / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.3073, allocations: 96.94 kB / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.3073, allocations: 8 kB / 1.226 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.3074, allocations: 7.938 kB / 1.226 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.3075, allocations: 19.91 kB / 1.226 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.3075, allocations: 4 kB / 1.226 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.868e-05/0.3076, allocations: 122.9 kB / 1.226 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3076, allocations: 0 / 1.226 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002307/0.3078, allocations: 19.94 kB / 1.226 GB, free: 7.59 MB / 0.9825 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 0.0001053/0.3079, allocations: 113.1 kB / 1.226 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.3081, allocations: 63.97 kB / 1.226 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3081, allocations: 3.938 kB / 1.226 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.853e-05/0.3082, allocations: 31.97 kB / 1.226 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.3085, allocations: 14.03 kB / 1.227 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.309, allocations: 231.4 kB / 1.227 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.3092, allocations: 0.7007 MB / 1.227 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.095e-05/0.3093, allocations: 8.672 kB / 1.227 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.3093, allocations: 19.42 kB / 1.227 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.3093, allocations: 3.938 kB / 1.227 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of Templates: time 0.003362/0.3127, allocations: 1.148 MB / 1.229 GB, free: 5.215 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches