Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.187/2.187, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001188/0.001189, allocations: 192.1 kB / 492.3 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0009493/0.0009494, allocations: 87.95 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.04e-05/4.044e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2959, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9276/1.224, allocations: 157.7 MB / 1.366 GB, free: 18.97 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/1.224, allocations: 90.86 kB / 1.366 GB, free: 18.97 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01828/1.242, allocations: 7.521 MB / 1.374 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.804e-06/1.242, allocations: 0 / 1.374 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.277e-05/1.242, allocations: 11.84 kB / 1.374 GB, free: 34.16 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.0008491/1.243, allocations: 0.6354 MB / 1.374 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/1.243, allocations: 11.53 kB / 1.374 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.654e-05/1.243, allocations: 61.8 kB / 1.375 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005084/1.244, allocations: 400.8 kB / 1.375 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/1.244, allocations: 29.66 kB / 1.375 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.644e-05/1.244, allocations: 35.19 kB / 1.375 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005565/1.245, allocations: 395 kB / 1.375 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/1.245, allocations: 3.75 kB / 1.375 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.076e-05/1.245, allocations: 21.64 kB / 1.375 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/1.245, allocations: 7.688 kB / 1.375 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003804/1.245, allocations: 247.5 kB / 1.376 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/1.247, allocations: 1.376 MB / 1.377 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005148/1.247, allocations: 317.8 kB / 1.377 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/1.247, allocations: 119.8 kB / 1.377 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/1.247, allocations: 3.812 kB / 1.377 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002687/1.248, allocations: 178 kB / 1.378 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=33): time 1.994e-06/1.248, allocations: 0 / 1.378 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.0004437/1.248, allocations: 278.5 kB / 1.378 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/1.248, allocations: 139.3 kB / 1.378 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/1.249, allocations: 310 kB / 1.378 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/1.249, allocations: 40.42 kB / 1.378 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/1.249, allocations: 224.5 kB / 1.378 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.43e-05/1.249, allocations: 106.5 kB / 1.379 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.466e-05/1.249, allocations: 6.938 kB / 1.379 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.249, allocations: 352.9 kB / 1.379 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/1.249, allocations: 91.31 kB / 1.379 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/1.249, allocations: 174.5 kB / 1.379 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/1.249, allocations: 100.8 kB / 1.379 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.249, allocations: 7.938 kB / 1.379 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004195/1.25, allocations: 324.5 kB / 1.38 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/1.25, allocations: 7.719 kB / 1.38 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/1.25, allocations: 0 / 1.38 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/1.25, allocations: 3.844 kB / 1.38 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/1.25, allocations: 65.97 kB / 1.38 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.151e-05/1.25, allocations: 3.844 kB / 1.38 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/1.25, allocations: 55.8 kB / 1.38 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/1.25, allocations: 10.84 kB / 1.38 GB, free: 31.49 MB / 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 9.967e-05/1.251, allocations: 138.2 kB / 1.38 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/1.251, allocations: 42.69 kB / 1.38 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.129e-05/1.251, allocations: 45.69 kB / 1.38 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/1.251, allocations: 6.391 kB / 1.38 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/1.251, allocations: 3.844 kB / 1.38 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.251, allocations: 0 / 1.38 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008773/1.252, allocations: 0.8254 MB / 1.381 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/1.252, allocations: 0 / 1.381 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/1.252, allocations: 61.8 kB / 1.381 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.252, allocations: 0 / 1.381 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/1.252, allocations: 11.62 kB / 1.381 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/1.252, allocations: 0 / 1.381 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.252, allocations: 2.156 kB / 1.381 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000584/1.253, allocations: 0.5041 MB / 1.381 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/1.253, allocations: 144.5 kB / 1.381 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.898e-05/1.253, allocations: 11.75 kB / 1.381 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/1.253, allocations: 28.8 kB / 1.382 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/1.253, allocations: 30.7 kB / 1.382 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/1.253, allocations: 9.156 kB / 1.382 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002135/1.253, allocations: 249 kB / 1.382 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.01e-07/1.253, allocations: 0 / 1.382 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003248/1.254, allocations: 89.12 kB / 1.382 GB, free: 30.62 MB / 0.8386 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.0001274/1.254, allocations: 115.3 kB / 1.382 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003832/1.254, allocations: 247 kB / 1.382 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.254, allocations: 0 / 1.382 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/1.254, allocations: 134.3 kB / 1.382 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/1.255, allocations: 85.86 kB / 1.382 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/1.256, allocations: 0.5676 MB / 1.383 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/1.256, allocations: 0.8235 MB / 1.384 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001785/1.256, allocations: 47.92 kB / 1.384 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.271e-05/1.257, allocations: 29.94 kB / 1.384 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of SimCode: time 5.91e-07/1.257, allocations: 0 / 1.384 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of Templates: time 0.006957/1.264, allocations: 3.727 MB / 1.388 GB, free: 28.06 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.csv","../files/Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches