Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.458/1.458, allocations: 249.3 MB / 261.9 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 176.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.2 MB / 0.572 GB, free: 10.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 88.81 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.632e-05/3.635e-05, allocations: 0 / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.23, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7626/0.9926, allocations: 132.5 MB / 1.021 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.9929, allocations: 90.81 kB / 1.021 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005063/0.9979, allocations: 1.812 MB / 1.023 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.904e-06/0.998, allocations: 0 / 1.023 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.998, allocations: 4 kB / 1.023 GB, free: 0.5547 MB / 0.6355 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.0006008/0.9986, allocations: 423.4 kB / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.9986, allocations: 8.031 kB / 1.023 GB, free: 100 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.9987, allocations: 15.86 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.9989, allocations: 178.8 kB / 1.024 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.9989, allocations: 11.56 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.9989, allocations: 4 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.9991, allocations: 81.61 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.9991, allocations: 0 / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.9992, allocations: 11.36 kB / 1.024 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.9992, allocations: 4 kB / 1.024 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.9993, allocations: 49.33 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007496/1, allocations: 421.3 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/1, allocations: 51.77 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/1, allocations: 22.73 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/1, allocations: 2.734 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/1, allocations: 34.56 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/1, allocations: 0 / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5): time 0.0001991/1, allocations: 68.45 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/1.001, allocations: 59.41 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/1.001, allocations: 138.8 kB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/1.001, allocations: 29.58 kB / 1.025 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/1.001, allocations: 103 kB / 1.025 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/1.001, allocations: 19.67 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/1.001, allocations: 0 / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001163/1.001, allocations: 322.5 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.337e-05/1.001, allocations: 21.75 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.002e-05/1.001, allocations: 19.38 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.674e-05/1.001, allocations: 19.64 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.001, allocations: 0 / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001253/1.001, allocations: 74.42 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/1.001, allocations: 8 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/1.001, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/1.001, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/1.001, allocations: 11.98 kB / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/1.001, allocations: 0 / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/1.002, allocations: 35.16 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/1.002, allocations: 4 kB / 1.025 GB, free: 14.34 MB / 0.6511 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.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.184e-05/1.002, allocations: 116.4 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/1.002, allocations: 7.906 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/1.002, allocations: 19.19 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/1.002, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/1.002, allocations: 3.938 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/1.002, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/1.002, allocations: 198.8 kB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.002, allocations: 3.953 kB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.513e-05/1.002, allocations: 11.98 kB / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/1.002, allocations: 0 / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/1.002, allocations: 0 / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.002, allocations: 0 / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/1.002, allocations: 4.234 kB / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/1.002, allocations: 173.6 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/1.002, allocations: 84.97 kB / 1.026 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/1.002, allocations: 11.12 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/1.003, allocations: 31.97 kB / 1.026 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/1.003, allocations: 19.53 kB / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/1.003, allocations: 0 / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.195e-05/1.003, allocations: 113.1 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/1.003, allocations: 0 / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000202/1.003, allocations: 23.41 kB / 1.026 GB, free: 13.5 MB / 0.6511 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001098/1.003, allocations: 99.23 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001296/1.003, allocations: 53.55 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.003, allocations: 0 / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.973e-05/1.003, allocations: 30.8 kB / 1.026 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/1.003, allocations: 7.938 kB / 1.026 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/1.004, allocations: 118.6 kB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/1.004, allocations: 0.7043 MB / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.543e-05/1.004, allocations: 4 kB / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/1.004, allocations: 15.38 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of SimCode: time 3.2e-07/1.004, allocations: 0 / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of Templates: time 0.003163/1.007, allocations: 1.087 MB / 1.028 GB, free: 11.39 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches