Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.372/2.372, allocations: 390.3 MB / 402.8 MB, free: 6.715 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 164.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 221.3 MB / 0.7915 GB, free: 5.379 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009322/0.0009322, allocations: 87.95 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.308e-05/3.311e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3029, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9225/1.225, allocations: 158.5 MB / 1.374 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/1.226, allocations: 91.56 kB / 1.374 GB, free: 11.6 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02036/1.246, allocations: 7.521 MB / 1.381 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.452e-06/1.246, allocations: 192 / 1.381 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.347e-05/1.246, allocations: 11.94 kB / 1.381 GB, free: 5.27 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0009537/1.247, allocations: 0.6376 MB / 1.382 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/1.247, allocations: 8.031 kB / 1.382 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/1.247, allocations: 59.3 kB / 1.382 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005701/1.248, allocations: 396.4 kB / 1.382 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/1.248, allocations: 29.28 kB / 1.382 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.697e-05/1.248, allocations: 48.91 kB / 1.382 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006175/1.249, allocations: 393 kB / 1.383 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/1.249, allocations: 0 / 1.383 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/1.249, allocations: 13.81 kB / 1.383 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/1.249, allocations: 11.94 kB / 1.383 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004332/1.249, allocations: 259.2 kB / 1.383 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/1.251, allocations: 1.359 MB / 1.384 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005442/1.252, allocations: 317 kB / 1.384 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/1.252, allocations: 129.1 kB / 1.385 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/1.252, allocations: 7.984 kB / 1.385 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003011/1.252, allocations: 178.9 kB / 1.385 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=33): time 1.913e-06/1.252, allocations: 0 / 1.385 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.0004921/1.253, allocations: 289.2 kB / 1.385 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/1.253, allocations: 132.5 kB / 1.385 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/1.253, allocations: 314 kB / 1.385 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/1.253, allocations: 37.02 kB / 1.385 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/1.253, allocations: 219.9 kB / 1.386 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.706e-05/1.253, allocations: 107.8 kB / 1.386 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.627e-05/1.253, allocations: 7.438 kB / 1.386 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.254, allocations: 351.8 kB / 1.386 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/1.254, allocations: 99.31 kB / 1.386 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/1.254, allocations: 169.3 kB / 1.386 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/1.254, allocations: 111.3 kB / 1.386 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.254, allocations: 0 / 1.386 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000486/1.255, allocations: 329.2 kB / 1.387 GB, free: 288 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/1.255, allocations: 4 kB / 1.387 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/1.255, allocations: 0 / 1.387 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/1.255, allocations: 4 kB / 1.387 GB, free: 280 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/1.255, allocations: 63.91 kB / 1.387 GB, free: 216 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/1.255, allocations: 4.125 kB / 1.387 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/1.255, allocations: 53.53 kB / 1.387 GB, free: 164 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/1.255, allocations: 11.06 kB / 1.387 GB, free: 156 kB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 0.0001096/1.255, allocations: 138.7 kB / 1.387 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.389e-05/1.256, allocations: 43.7 kB / 1.387 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.192e-05/1.256, allocations: 45.69 kB / 1.387 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/1.256, allocations: 0 / 1.387 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/1.256, allocations: 4 kB / 1.387 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/1.256, allocations: 3.984 kB / 1.387 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009906/1.257, allocations: 0.8289 MB / 1.388 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.257, allocations: 0 / 1.388 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/1.257, allocations: 55.91 kB / 1.388 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/1.257, allocations: 0 / 1.388 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/1.257, allocations: 14.31 kB / 1.388 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.257, allocations: 0 / 1.388 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.257, allocations: 0 / 1.388 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006969/1.258, allocations: 0.5054 MB / 1.389 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/1.258, allocations: 152.1 kB / 1.389 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/1.258, allocations: 7.75 kB / 1.389 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/1.258, allocations: 27.61 kB / 1.389 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.5e-05/1.258, allocations: 33.45 kB / 1.389 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/1.258, allocations: 8 kB / 1.389 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002348/1.259, allocations: 245.7 kB / 1.389 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/1.259, allocations: 0 / 1.389 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003385/1.259, allocations: 81.41 kB / 1.389 GB, free: 14.34 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001565/1.259, allocations: 121.8 kB / 1.389 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004063/1.259, allocations: 241.9 kB / 1.389 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.259, allocations: 0 / 1.389 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/1.26, allocations: 132.9 kB / 1.39 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/1.26, allocations: 77.5 kB / 1.39 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/1.261, allocations: 0.5751 MB / 1.39 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/1.262, allocations: 0.823 MB / 1.391 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001743/1.262, allocations: 47.27 kB / 1.391 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.559e-05/1.262, allocations: 27.44 kB / 1.391 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of SimCode: time 4.31e-07/1.262, allocations: 0 / 1.391 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of Templates: time 0.008116/1.27, allocations: 3.73 MB / 1.395 GB, free: 8.781 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches