Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 249.3 MB / 261.8 MB, free: 5.965 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.0009476/0.0009474, allocations: 184.8 kB / 321.3 MB, free: 14.62 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.652/1.652, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0009213/0.0009215, allocations: 91.7 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.439e-05/4.439e-05, allocations: 0 / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.278, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8048/1.083, allocations: 138.5 MB / 1.027 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/1.083, allocations: 82.02 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03303/1.116, allocations: 12.59 MB / 1.039 GB, free: 1.715 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.613e-06/1.116, allocations: 0 / 1.039 GB, free: 1.715 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.53e-05/1.116, allocations: 16 kB / 1.039 GB, free: 1.699 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001559/1.118, allocations: 0.8702 MB / 1.04 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/1.118, allocations: 8.031 kB / 1.04 GB, free: 0.8125 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/1.118, allocations: 90.92 kB / 1.04 GB, free: 0.7227 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008298/1.119, allocations: 0.5253 MB / 1.041 GB, free: 272 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.563e-05/1.119, allocations: 44.25 kB / 1.041 GB, free: 244 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.696e-05/1.119, allocations: 56.69 kB / 1.041 GB, free: 208 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/1.12, allocations: 0.6072 MB / 1.042 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/1.12, allocations: 0 / 1.042 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.987e-05/1.12, allocations: 23.75 kB / 1.042 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/1.12, allocations: 19.95 kB / 1.042 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007506/1.121, allocations: 437.1 kB / 1.042 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003019/1.124, allocations: 2.094 MB / 1.044 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007018/1.125, allocations: 432.8 kB / 1.044 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/1.125, allocations: 218.4 kB / 1.045 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.431e-05/1.125, allocations: 4.438 kB / 1.045 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004505/1.126, allocations: 257.1 kB / 1.045 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=50): time 2.515e-06/1.126, allocations: 3.938 kB / 1.045 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=50): time 0.0007395/1.126, allocations: 432.1 kB / 1.045 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.491e-05/1.127, allocations: 158.7 kB / 1.046 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004677/1.127, allocations: 401.4 kB / 1.046 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/1.127, allocations: 35.2 kB / 1.046 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/1.127, allocations: 321.8 kB / 1.046 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/1.127, allocations: 169.1 kB / 1.046 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/1.128, allocations: 6.625 kB / 1.046 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001905/1.128, allocations: 362.8 kB / 1.047 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/1.128, allocations: 160.3 kB / 1.047 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/1.128, allocations: 260.9 kB / 1.047 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/1.129, allocations: 206.5 kB / 1.047 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.129, allocations: 0 / 1.047 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008119/1.129, allocations: 0.5377 MB / 1.048 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.766e-05/1.13, allocations: 37.69 kB / 1.048 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/1.13, allocations: 0 / 1.048 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/1.13, allocations: 4 kB / 1.048 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004966/1.13, allocations: 125.8 kB / 1.048 GB, free: 10.74 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/1.13, allocations: 4.188 kB / 1.048 GB, free: 10.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004413/1.131, allocations: 82.3 kB / 1.048 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/1.131, allocations: 22 kB / 1.048 GB, free: 10.65 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001531/1.131, allocations: 131.2 kB / 1.048 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.129e-05/1.131, allocations: 67.22 kB / 1.048 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/1.131, allocations: 67 kB / 1.048 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/1.131, allocations: 8 kB / 1.048 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/1.131, allocations: 0 / 1.048 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/1.131, allocations: 3.984 kB / 1.048 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/1.133, allocations: 1.22 MB / 1.05 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/1.133, allocations: 7.984 kB / 1.05 GB, free: 9.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005105/1.133, allocations: 107.3 kB / 1.05 GB, free: 9.398 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/1.133, allocations: 4 kB / 1.05 GB, free: 9.395 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/1.133, allocations: 11.12 kB / 1.05 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.133, allocations: 0 / 1.05 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/1.133, allocations: 0 / 1.05 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/1.134, allocations: 0.7589 MB / 1.05 GB, free: 8.848 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/1.135, allocations: 178.1 kB / 1.051 GB, free: 8.688 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.266e-05/1.135, allocations: 13.69 kB / 1.051 GB, free: 8.684 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003597/1.135, allocations: 50.09 kB / 1.051 GB, free: 8.641 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/1.135, allocations: 36.06 kB / 1.051 GB, free: 8.609 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/1.135, allocations: 15.5 kB / 1.051 GB, free: 8.598 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003327/1.135, allocations: 311.5 kB / 1.051 GB, free: 8.367 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/1.136, allocations: 0 / 1.051 GB, free: 8.367 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004657/1.136, allocations: 153.3 kB / 1.051 GB, free: 8.23 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002172/1.136, allocations: 123.3 kB / 1.051 GB, free: 8.109 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0007168/1.137, allocations: 461.7 kB / 1.052 GB, free: 7.781 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.137, allocations: 0 / 1.052 GB, free: 7.781 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003291/1.137, allocations: 212.7 kB / 1.052 GB, free: 7.645 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006741/1.138, allocations: 136.3 kB / 1.052 GB, free: 7.547 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/1.141, allocations: 1.271 MB / 1.053 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/1.141, allocations: 0.9021 MB / 1.054 GB, free: 5.434 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000301/1.141, allocations: 68.52 kB / 1.054 GB, free: 5.363 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/1.141, allocations: 35.44 kB / 1.054 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of SimCode: time 3.21e-07/1.141, allocations: 0 / 1.054 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of Templates: time 0.01155/1.153, allocations: 6.248 MB / 1.06 GB, free: 15.17 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches