Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.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.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_9_Buildings.Obsolete.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 9.1.1-maint.9.1.x/package.mo): time 1.88/1.88, 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.00102/0.00102, allocations: 173.3 kB / 487 MB, free: 5.383 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.26/1.26, allocations: 221.3 MB / 0.7819 GB, free: 1.41 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.000992/0.0009921, allocations: 92.77 kB / 0.9213 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.504e-06/7.535e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2244, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6124/0.8369, allocations: 152.4 MB / 1.354 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.8372, allocations: 88.16 kB / 1.354 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01908/0.8562, allocations: 7.765 MB / 1.362 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.05e-05/0.8563, allocations: 11.36 kB / 1.362 GB, free: 14.32 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0006726/0.857, allocations: 0.6355 MB / 1.362 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.857, allocations: 9.031 kB / 1.362 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.025e-05/0.8571, allocations: 59.34 kB / 1.362 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004548/0.8576, allocations: 360.5 kB / 1.363 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.8576, allocations: 20 kB / 1.363 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.252e-05/0.8576, allocations: 20 kB / 1.363 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003617/0.858, allocations: 230.2 kB / 1.363 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/0.8584, allocations: 319.8 kB / 1.363 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.8585, allocations: 0 / 1.363 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.8585, allocations: 4 kB / 1.363 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.8585, allocations: 8 kB / 1.363 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.8598, allocations: 1.217 MB / 1.365 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005442/0.8604, allocations: 257.7 kB / 1.365 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.8606, allocations: 125 kB / 1.365 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.8606, allocations: 4 kB / 1.365 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.8608, allocations: 164.7 kB / 1.365 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=28): time 1.302e-06/0.8608, allocations: 0 / 1.365 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=28): time 0.0003254/0.8611, allocations: 206.4 kB / 1.365 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.8611, allocations: 132.5 kB / 1.365 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.8614, allocations: 276.3 kB / 1.366 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.8614, allocations: 29.64 kB / 1.366 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.709e-05/0.8615, allocations: 197.4 kB / 1.366 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.8615, allocations: 96.3 kB / 1.366 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.098e-05/0.8615, allocations: 0 / 1.366 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.416e-05/0.8616, allocations: 344.2 kB / 1.366 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.8617, allocations: 77.94 kB / 1.366 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.8618, allocations: 150.2 kB / 1.366 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.862, allocations: 96.22 kB / 1.367 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.862, allocations: 0 / 1.367 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003328/0.8623, allocations: 269.1 kB / 1.367 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.818e-05/0.8624, allocations: 0.5247 MB / 1.367 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.8624, allocations: 8 kB / 1.367 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.8624, allocations: 0 / 1.367 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.8627, allocations: 71.59 kB / 1.367 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.8627, allocations: 7.984 kB / 1.367 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.8629, allocations: 47.67 kB / 1.367 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.8629, allocations: 15.75 kB / 1.367 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.358e-06/0.8629, allocations: 4 kB / 1.367 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002546/0.8632, allocations: 202 kB / 1.368 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-06/0.8632, allocations: 0 / 1.368 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.767e-06/0.8632, allocations: 4 kB / 1.368 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.8634, allocations: 59.78 kB / 1.368 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.8634, allocations: 7.938 kB / 1.368 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.8636, allocations: 23.83 kB / 1.368 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.8636, allocations: 11.38 kB / 1.368 GB, free: 8.855 MB / 0.8073 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 ($whenCondition1,$whenCondition2) * 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 6.18e-05/0.8636, allocations: 116.9 kB / 1.368 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.8637, allocations: 31.62 kB / 1.368 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.803e-05/0.8638, allocations: 33.2 kB / 1.368 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.8638, allocations: 4 kB / 1.368 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.8638, allocations: 0 / 1.368 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.8638, allocations: 7.891 kB / 1.368 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007734/0.8646, allocations: 0.846 MB / 1.369 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.8646, allocations: 3.906 kB / 1.369 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.8648, allocations: 71.06 kB / 1.369 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.8648, allocations: 4 kB / 1.369 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.8649, allocations: 4 kB / 1.369 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.8649, allocations: 11.92 kB / 1.369 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8649, allocations: 0 / 1.369 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004445/0.8653, allocations: 0.6667 MB / 1.37 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.8654, allocations: 120.5 kB / 1.37 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.8654, allocations: 4 kB / 1.37 GB, free: 7.039 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.8657, allocations: 27.73 kB / 1.37 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.8657, allocations: 19.97 kB / 1.37 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.8657, allocations: 15.81 kB / 1.37 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001433/0.8659, allocations: 205.4 kB / 1.37 GB, free: 6.828 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004768/0.8664, allocations: 127.2 kB / 1.37 GB, free: 6.703 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (limPI.I.y,limPID.I.y,limPID.D.x) * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.0001116/0.8665, allocations: 115.6 kB / 1.37 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004046/0.8669, allocations: 332.2 kB / 1.37 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8669, allocations: 0 / 1.37 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.867, allocations: 104.4 kB / 1.371 GB, free: 6.289 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.8675, allocations: 72.64 kB / 1.371 GB, free: 6.234 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009617/0.8684, allocations: 0.5497 MB / 1.371 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003676/0.8688, allocations: 0.8541 MB / 1.372 GB, free: 20.8 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/0.8688, allocations: 0 / 1.372 GB, free: 20.8 MB / 0.823 GB Notification: Performance of Templates: time 0.007203/0.876, allocations: 4.457 MB / 1.376 GB, free: 16.41 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches