Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.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.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.D.y|limPID.I.y|limPID.D.u|limPI.I.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.D.y|limPID.I.y|limPID.D.u|limPI.I.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") [: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.407/1.407, allocations: 249.4 MB / 256.7 MB, free: 6.992 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.00143/0.00143, allocations: 192.6 kB / 316 MB, free: 3.551 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.544/1.544, allocations: 205.2 MB / 0.5667 GB, free: 15.62 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.0012/0.0012, allocations: 103.2 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.021e-05/1.022e-05, allocations: 8 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2248, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5788/0.8037, allocations: 134.3 MB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.804, allocations: 83.19 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01964/0.8237, allocations: 7.666 MB / 1.023 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.132e-05/0.8238, allocations: 12 kB / 1.023 GB, free: 13.82 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001024/0.8248, allocations: 0.6466 MB / 1.024 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.8249, allocations: 11.97 kB / 1.024 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.825, allocations: 62.66 kB / 1.024 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006417/0.8256, allocations: 374.4 kB / 1.024 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.8257, allocations: 12 kB / 1.024 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.063e-05/0.8257, allocations: 20 kB / 1.024 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004362/0.8262, allocations: 234.4 kB / 1.025 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/0.8267, allocations: 338.8 kB / 1.025 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.8267, allocations: 0 / 1.025 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.8267, allocations: 0 / 1.025 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.8267, allocations: 12 kB / 1.025 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.8287, allocations: 1.521 MB / 1.026 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006776/0.8293, allocations: 264.6 kB / 1.027 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.8295, allocations: 114.6 kB / 1.027 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.8296, allocations: 4 kB / 1.027 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.8296, allocations: 46.23 kB / 1.027 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=26): time 1.343e-06/0.8296, allocations: 0 / 1.027 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26): time 0.0003822/0.83, allocations: 210.7 kB / 1.027 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/0.8301, allocations: 106.8 kB / 1.027 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.8304, allocations: 286.3 kB / 1.027 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.8304, allocations: 25.7 kB / 1.027 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.8305, allocations: 207.1 kB / 1.028 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.663e-05/0.8306, allocations: 88.41 kB / 1.028 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.255e-05/0.8306, allocations: 0 / 1.028 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.8307, allocations: 343.8 kB / 1.028 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.8309, allocations: 76.94 kB / 1.028 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.8311, allocations: 164.6 kB / 1.028 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.8312, allocations: 88.16 kB / 1.028 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/0.8312, allocations: 7.984 kB / 1.028 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004083/0.8317, allocations: 279.3 kB / 1.029 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002007/0.8319, allocations: 0.5311 MB / 1.029 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.8319, allocations: 0 / 1.029 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.8319, allocations: 8 kB / 1.029 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.8322, allocations: 71.16 kB / 1.029 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.8322, allocations: 7.844 kB / 1.029 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.8325, allocations: 47.75 kB / 1.029 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.8325, allocations: 15.44 kB / 1.029 GB, free: 8.316 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.398e-06/0.8325, allocations: 4 kB / 1.029 GB, free: 8.312 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003066/0.8328, allocations: 208.3 kB / 1.029 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-06/0.8328, allocations: 0 / 1.029 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.98e-06/0.8328, allocations: 7.938 kB / 1.029 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.833, allocations: 59.81 kB / 1.03 GB, free: 8.109 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.8331, allocations: 4 kB / 1.03 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.8332, allocations: 27.95 kB / 1.03 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.8332, allocations: 11.25 kB / 1.03 GB, free: 8.07 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (limPI.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.07e-05/0.8333, allocations: 108.9 kB / 1.03 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.8334, allocations: 39.56 kB / 1.03 GB, free: 7.918 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.968e-05/0.8335, allocations: 36.75 kB / 1.03 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.8335, allocations: 4 kB / 1.03 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.8335, allocations: 0 / 1.03 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.8335, allocations: 0 / 1.03 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009822/0.8345, allocations: 0.7826 MB / 1.031 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.8345, allocations: 4 kB / 1.031 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/0.8348, allocations: 59.22 kB / 1.031 GB, free: 7.137 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.8348, allocations: 4 kB / 1.031 GB, free: 7.133 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.8348, allocations: 4 kB / 1.031 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.8348, allocations: 7.938 kB / 1.031 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.8348, allocations: 3.906 kB / 1.031 GB, free: 7.117 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005713/0.8354, allocations: 0.5853 MB / 1.031 GB, free: 6.551 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.461e-05/0.8355, allocations: 119.5 kB / 1.031 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.8356, allocations: 4 kB / 1.031 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.8358, allocations: 23.97 kB / 1.031 GB, free: 6.391 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.8358, allocations: 23.33 kB / 1.031 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.8359, allocations: 11.88 kB / 1.031 GB, free: 6.363 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001885/0.8361, allocations: 219.1 kB / 1.032 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004577/0.8365, allocations: 123.4 kB / 1.032 GB, free: 6.074 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.0001837/0.8367, allocations: 122.1 kB / 1.032 GB, free: 5.949 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004792/0.8372, allocations: 338.1 kB / 1.032 GB, free: 5.73 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.8372, allocations: 0 / 1.032 GB, free: 5.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.8374, allocations: 99.67 kB / 1.032 GB, free: 5.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.8378, allocations: 87.03 kB / 1.032 GB, free: 5.594 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.839, allocations: 0.5566 MB / 1.033 GB, free: 5.035 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004521/0.8394, allocations: 0.8541 MB / 1.034 GB, free: 4.152 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.8395, allocations: 0 / 1.034 GB, free: 4.152 MB / 0.6511 GB Notification: Performance of Templates: time 0.008804/0.8483, allocations: 4.717 MB / 1.038 GB, free: 15.48 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches