Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoi.y|mea.y|trigger.y|limPIDDef.y|limPIDDef.controlError|limPIDPar.y|limPIDPar.y_reset|limPIDInp.y|limPIDInp.y_reset_in",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoi.y|mea.y|trigger.y|limPIDDef.y|limPIDDef.controlError|limPIDPar.y|limPIDPar.y_reset|limPIDInp.y|limPIDInp.y_reset_in",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") [: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 7.0.3-maint.7.0.x/package.mo): time 1.294/1.294, allocations: 249.4 MB / 256.7 MB, free: 15.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 188.5 kB / 316 MB, free: 7.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.1 MB / 0.5667 GB, free: 23.94 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.001046/0.001046, allocations: 85.03 kB / 0.671 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 7.654e-06/7.674e-06, allocations: 0 / 0.7807 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5317/0.5317, allocations: 106.3 MB / 0.8846 GB, free: 76.36 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1724/0.7041, allocations: 139.4 MB / 1.021 GB, free: 0.7617 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.7044, allocations: 75.95 kB / 1.021 GB, free: 0.6875 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.5022/1.207, allocations: 19.42 MB / 1.04 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001044/1.207, allocations: 34.47 kB / 1.04 GB, free: 140.8 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001821/1.209, allocations: 1.1 MB / 1.041 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.209, allocations: 12.5 kB / 1.041 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/1.209, allocations: 122.5 kB / 1.041 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/1.21, allocations: 0.7372 MB / 1.042 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-05/1.21, allocations: 59.45 kB / 1.042 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.764e-05/1.21, allocations: 51.62 kB / 1.042 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007912/1.211, allocations: 449.2 kB / 1.042 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009746/1.212, allocations: 0.6222 MB / 1.043 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/1.212, allocations: 0 / 1.043 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-05/1.212, allocations: 0 / 1.043 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/1.212, allocations: 18.78 kB / 1.043 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002879/1.215, allocations: 2.207 MB / 1.045 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009859/1.216, allocations: 0.525 MB / 1.045 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/1.217, allocations: 219.3 kB / 1.046 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.159e-05/1.217, allocations: 10.55 kB / 1.046 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003849/1.217, allocations: 278.1 kB / 1.046 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 1.884e-06/1.217, allocations: 0 / 1.046 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.0008225/1.218, allocations: 499.4 kB / 1.046 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/1.218, allocations: 136.5 kB / 1.047 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006084/1.219, allocations: 0.5589 MB / 1.047 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/1.219, allocations: 28.17 kB / 1.047 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/1.219, allocations: 294.8 kB / 1.047 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/1.219, allocations: 195.2 kB / 1.048 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/1.219, allocations: 0 / 1.048 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.574e-05/1.219, allocations: 331.2 kB / 1.048 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003424/1.219, allocations: 166.1 kB / 1.048 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/1.22, allocations: 286.7 kB / 1.048 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/1.22, allocations: 202.1 kB / 1.049 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.22, allocations: 0 / 1.049 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007509/1.221, allocations: 0.5526 MB / 1.049 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001704/1.221, allocations: 0.8807 MB / 1.05 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/1.221, allocations: 3.906 kB / 1.05 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/1.221, allocations: 6.406 kB / 1.05 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009415/1.222, allocations: 170.2 kB / 1.05 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.088e-06/1.222, allocations: 7.031 kB / 1.05 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005296/1.223, allocations: 70.38 kB / 1.05 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/1.223, allocations: 17.22 kB / 1.05 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.003e-06/1.223, allocations: 5.062 kB / 1.05 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006747/1.223, allocations: 451.3 kB / 1.051 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/1.223, allocations: 0 / 1.051 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/1.223, allocations: 11.75 kB / 1.051 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007762/1.224, allocations: 158 kB / 1.051 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/1.224, allocations: 7.844 kB / 1.051 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/1.225, allocations: 53.08 kB / 1.051 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/1.225, allocations: 27.19 kB / 1.051 GB, free: 136.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0001496/1.225, allocations: 122.3 kB / 1.051 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/1.225, allocations: 89.47 kB / 1.051 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/1.225, allocations: 98.42 kB / 1.051 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/1.225, allocations: 7.781 kB / 1.051 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/1.225, allocations: 0 / 1.051 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/1.225, allocations: 3.797 kB / 1.051 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/1.227, allocations: 1.307 MB / 1.052 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.227, allocations: 11.27 kB / 1.053 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006427/1.228, allocations: 112.2 kB / 1.053 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/1.228, allocations: 2.281 kB / 1.053 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-05/1.228, allocations: 9.969 kB / 1.053 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/1.228, allocations: 7.25 kB / 1.053 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.228, allocations: 5.641 kB / 1.053 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001438/1.229, allocations: 0.8588 MB / 1.053 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/1.23, allocations: 227.7 kB / 1.054 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/1.23, allocations: 6.156 kB / 1.054 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005977/1.23, allocations: 47.69 kB / 1.054 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/1.23, allocations: 35.64 kB / 1.054 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-05/1.23, allocations: 15.72 kB / 1.054 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007369/1.231, allocations: 441.5 kB / 1.054 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001034/1.232, allocations: 269.3 kB / 1.054 GB, free: 134.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000201/1.232, allocations: 107.3 kB / 1.055 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001439/1.234, allocations: 0.746 MB / 1.055 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.234, allocations: 256 / 1.055 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004196/1.234, allocations: 246.8 kB / 1.056 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/1.235, allocations: 204.5 kB / 1.056 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/1.238, allocations: 1.161 MB / 1.057 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007582/1.239, allocations: 1.089 MB / 1.058 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of SimCode: time 5.81e-07/1.239, allocations: 0 / 1.058 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.03244/1.272, allocations: 12.87 MB / 1.07 GB, free: 129.5 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_Continuous_Validation_LimPIDReset.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches