Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPIDOri.y|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPIDOri.y|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") [: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 10.0.0-master/package.mo): time 1.935/1.935, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.0009832/0.0009832, allocations: 180.5 kB / 490.8 MB, free: 1.949 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.336/1.336, allocations: 221.3 MB / 0.7863 GB, free: 13.68 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.0009051/0.0009051, allocations: 101.5 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.256e-06/8.286e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2509, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6604/0.9113, allocations: 154.3 MB / 1.362 GB, free: 17.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.9116, allocations: 89.19 kB / 1.362 GB, free: 17.43 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.05841/0.9701, allocations: 23.93 MB / 1.386 GB, free: 12.04 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.533e-05/0.9702, allocations: 33.66 kB / 1.386 GB, free: 12.03 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002038/0.9722, allocations: 1.323 MB / 1.387 GB, free: 27.11 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.9723, allocations: 8.844 kB / 1.387 GB, free: 27.11 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002548/0.9725, allocations: 160.2 kB / 1.387 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.9738, allocations: 0.7688 MB / 1.388 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.722e-05/0.9739, allocations: 35.59 kB / 1.388 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.974, allocations: 72.25 kB / 1.388 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001237/0.9753, allocations: 0.6321 MB / 1.389 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.9767, allocations: 0.8427 MB / 1.39 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/0.9767, allocations: 5.062 kB / 1.39 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.389e-05/0.9768, allocations: 5.781 kB / 1.39 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/0.9769, allocations: 27.22 kB / 1.39 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004495/0.9814, allocations: 3.437 MB / 1.393 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.9829, allocations: 0.7856 MB / 1.394 GB, free: 24.19 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005196/0.9834, allocations: 380.7 kB / 1.394 GB, free: 24.17 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.008e-05/0.9834, allocations: 9.531 kB / 1.394 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005377/0.984, allocations: 340.1 kB / 1.394 GB, free: 24.06 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=92): time 3.507e-06/0.984, allocations: 0 / 1.394 GB, free: 24.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=92): time 0.001263/0.9853, allocations: 0.6069 MB / 1.395 GB, free: 23.92 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.675e-05/0.9854, allocations: 219.8 kB / 1.395 GB, free: 23.67 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009506/0.9863, allocations: 0.5801 MB / 1.396 GB, free: 23.49 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-05/0.9864, allocations: 28.86 kB / 1.396 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/0.9868, allocations: 407.3 kB / 1.396 GB, free: 23.17 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/0.9871, allocations: 289 kB / 1.396 GB, free: 22.96 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.9871, allocations: 1.344 kB / 1.396 GB, free: 22.96 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.9873, allocations: 344 kB / 1.397 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005292/0.9878, allocations: 246.2 kB / 1.397 GB, free: 22.62 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006495/0.9885, allocations: 412.6 kB / 1.397 GB, free: 22.44 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008069/0.9893, allocations: 292.8 kB / 1.398 GB, free: 22.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.9893, allocations: 1.062 kB / 1.398 GB, free: 22.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001718/0.991, allocations: 0.7677 MB / 1.398 GB, free: 22.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003362/0.9914, allocations: 0.6169 MB / 1.399 GB, free: 21.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.9914, allocations: 1.375 kB / 1.399 GB, free: 21.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.144e-05/0.9915, allocations: 5.5 kB / 1.399 GB, free: 21.58 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009072/0.9924, allocations: 209.2 kB / 1.399 GB, free: 21.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.406e-05/0.9924, allocations: 8.984 kB / 1.399 GB, free: 21.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008601/0.9933, allocations: 169.3 kB / 1.399 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.13e-05/0.9934, allocations: 31.19 kB / 1.399 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.9934, allocations: 3.219 kB / 1.399 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001223/0.9946, allocations: 0.6031 MB / 1.4 GB, free: 21.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.9946, allocations: 1.281 kB / 1.4 GB, free: 21.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.9946, allocations: 9.812 kB / 1.4 GB, free: 21.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006087/0.9952, allocations: 157.8 kB / 1.4 GB, free: 21.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.9953, allocations: 6.312 kB / 1.4 GB, free: 21.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006798/0.9959, allocations: 115.6 kB / 1.4 GB, free: 21.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.173e-05/0.996, allocations: 31.98 kB / 1.4 GB, free: 21.29 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 1 * 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.0002255/0.9963, allocations: 130.4 kB / 1.4 GB, free: 21.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.9964, allocations: 96.66 kB / 1.401 GB, free: 21.11 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.9967, allocations: 97.91 kB / 1.401 GB, free: 21.09 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.9967, allocations: 9.125 kB / 1.401 GB, free: 21.09 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-05/0.9968, allocations: 0 / 1.401 GB, free: 21.09 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.9968, allocations: 4.984 kB / 1.401 GB, free: 21.08 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.9989, allocations: 1.515 MB / 1.402 GB, free: 20.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.9989, allocations: 1 kB / 1.402 GB, free: 20.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007782/0.9997, allocations: 183.9 kB / 1.402 GB, free: 20.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/0.9997, allocations: 3.031 kB / 1.402 GB, free: 20.46 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.2e-05/0.9998, allocations: 7.234 kB / 1.402 GB, free: 20.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.9998, allocations: 3.844 kB / 1.402 GB, free: 20.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.9998, allocations: 0 / 1.402 GB, free: 20.46 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001578/1.001, allocations: 1.051 MB / 1.403 GB, free: 20.2 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/1.002, allocations: 177.3 kB / 1.404 GB, free: 20.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/1.002, allocations: 1.938 kB / 1.404 GB, free: 20.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004573/1.002, allocations: 69.41 kB / 1.404 GB, free: 20.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.185e-05/1.002, allocations: 41.94 kB / 1.404 GB, free: 20 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.625e-05/1.002, allocations: 32.14 kB / 1.404 GB, free: 19.99 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0007233/1.003, allocations: 446.5 kB / 1.404 GB, free: 19.87 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001578/1.005, allocations: 370.6 kB / 1.404 GB, free: 19.76 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 7 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 91 * 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.000269/1.005, allocations: 133.8 kB / 1.405 GB, free: 19.65 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001874/1.007, allocations: 1.06 MB / 1.406 GB, free: 19.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.007, allocations: 4.688 kB / 1.406 GB, free: 19.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005578/1.007, allocations: 319 kB / 1.406 GB, free: 19.49 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/1.008, allocations: 191 kB / 1.406 GB, free: 19.4 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/1.011, allocations: 1.37 MB / 1.407 GB, free: 18.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007715/1.012, allocations: 1.196 MB / 1.409 GB, free: 16.94 MB / 0.8386 GB Notification: Performance of SimCode: time 9.11e-07/1.012, allocations: 3.938 kB / 1.409 GB, free: 16.94 MB / 0.8386 GB Notification: Performance of Templates: time 0.02429/1.036, allocations: 14.03 MB / 1.422 GB, free: 3.07 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches