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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.935/1.935, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001133/0.001133, allocations: 193 kB / 487 MB, free: 5.359 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.27/1.27, allocations: 221.3 MB / 0.7819 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000886/0.0008861, allocations: 93.95 kB / 0.9213 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.641e-06/5.661e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2123, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5958/0.8081, allocations: 157 MB / 1.358 GB, free: 16.05 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.8084, allocations: 87.91 kB / 1.359 GB, free: 16.04 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01771/0.8261, allocations: 7.164 MB / 1.366 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.034e-05/0.8262, allocations: 13.53 kB / 1.366 GB, free: 11.84 MB / 0.8073 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.0007729/0.827, allocations: 0.6484 MB / 1.366 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.827, allocations: 8.031 kB / 1.366 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.176e-05/0.8271, allocations: 55.34 kB / 1.366 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.8276, allocations: 407.7 kB / 1.367 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.8276, allocations: 12 kB / 1.367 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.856e-05/0.8277, allocations: 27.92 kB / 1.367 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004079/0.8281, allocations: 228 kB / 1.367 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.8285, allocations: 338.3 kB / 1.367 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.8286, allocations: 4 kB / 1.367 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.8286, allocations: 4 kB / 1.367 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.8286, allocations: 8 kB / 1.367 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.83, allocations: 1.303 MB / 1.369 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/0.8303, allocations: 210.3 kB / 1.369 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.8305, allocations: 112.4 kB / 1.369 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.8305, allocations: 4 kB / 1.369 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.8307, allocations: 155.4 kB / 1.369 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.8307, allocations: 0 / 1.369 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33): time 0.0003844/0.8311, allocations: 251.6 kB / 1.369 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.8312, allocations: 140.5 kB / 1.369 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.8314, allocations: 278.1 kB / 1.37 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.8315, allocations: 25.7 kB / 1.37 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.865e-05/0.8315, allocations: 195.4 kB / 1.37 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.33e-05/0.8316, allocations: 96.97 kB / 1.37 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/0.8316, allocations: 0 / 1.37 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.58e-05/0.8317, allocations: 351.2 kB / 1.37 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.8318, allocations: 81.25 kB / 1.37 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.832, allocations: 160.2 kB / 1.371 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.8322, allocations: 95.42 kB / 1.371 GB, free: 7.406 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.8322, allocations: 0 / 1.371 GB, free: 7.406 MB / 0.8073 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003696/0.8325, allocations: 299 kB / 1.371 GB, free: 7.18 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.8326, allocations: 4 kB / 1.371 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.8326, allocations: 4 kB / 1.371 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.8326, allocations: 0 / 1.371 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.8329, allocations: 63.91 kB / 1.371 GB, free: 7.109 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.8329, allocations: 4.125 kB / 1.371 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.8331, allocations: 47.66 kB / 1.371 GB, free: 7.059 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.8331, allocations: 15.56 kB / 1.371 GB, free: 7.047 MB / 0.8073 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 8.142e-05/0.8332, allocations: 119.9 kB / 1.371 GB, free: 6.926 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.8333, allocations: 39.53 kB / 1.371 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.731e-05/0.8333, allocations: 41.98 kB / 1.371 GB, free: 6.859 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.8334, allocations: 4 kB / 1.371 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.8334, allocations: 0 / 1.371 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.8334, allocations: 0 / 1.371 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007485/0.8341, allocations: 0.7358 MB / 1.372 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.8341, allocations: 7.906 kB / 1.372 GB, free: 6.254 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.8344, allocations: 55.91 kB / 1.372 GB, free: 6.199 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.8344, allocations: 0 / 1.372 GB, free: 6.199 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.8344, allocations: 7.922 kB / 1.372 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.8345, allocations: 4 kB / 1.372 GB, free: 6.188 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8345, allocations: 3.984 kB / 1.372 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005119/0.835, allocations: 490.2 kB / 1.372 GB, free: 5.816 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.8351, allocations: 143.1 kB / 1.373 GB, free: 5.672 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.327e-05/0.8352, allocations: 3.062 kB / 1.373 GB, free: 5.672 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.8354, allocations: 28.05 kB / 1.373 GB, free: 5.645 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.8355, allocations: 27.92 kB / 1.373 GB, free: 5.621 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.8355, allocations: 8 kB / 1.373 GB, free: 5.613 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001632/0.8357, allocations: 213.4 kB / 1.373 GB, free: 5.453 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003277/0.836, allocations: 83.2 kB / 1.373 GB, free: 5.375 MB / 0.8073 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.00013/0.8361, allocations: 104.6 kB / 1.373 GB, free: 5.262 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003397/0.8365, allocations: 239.4 kB / 1.373 GB, free: 5.105 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.8365, allocations: 3.938 kB / 1.373 GB, free: 5.102 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.8366, allocations: 130.3 kB / 1.373 GB, free: 5.012 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.8371, allocations: 66.08 kB / 1.373 GB, free: 4.965 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.8382, allocations: 0.5555 MB / 1.374 GB, free: 4.445 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004183/0.8386, allocations: 0.8577 MB / 1.375 GB, free: 19.56 MB / 0.823 GB Notification: Performance of SimCode: time 2.31e-07/0.8386, allocations: 4 kB / 1.375 GB, free: 19.55 MB / 0.823 GB Notification: Performance of Templates: time 0.006868/0.8455, allocations: 3.846 MB / 1.379 GB, free: 15.77 MB / 0.823 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