Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.u_s|limPIDInp.u_m|limPIDInp.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y|limPIInp.u_s|limPIInp.u_m|limPIInp.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.u_s|limPIDInp.u_m|limPIDInp.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y|limPIInp.u_s|limPIInp.u_m|limPIInp.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") [: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.977/1.977, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.001162/0.001162, allocations: 185.2 kB / 487 MB, free: 5.398 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.36/1.36, allocations: 221.3 MB / 0.7819 GB, free: 1.387 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.0008922/0.0008922, allocations: 103.7 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.024e-06/7.054e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2159, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6337/0.8495, allocations: 153.6 MB / 1.355 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.8499, allocations: 87.33 kB / 1.355 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.03861/0.8885, allocations: 16.99 MB / 1.372 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.278e-05/0.8886, allocations: 22.66 kB / 1.372 GB, free: 6.078 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.001356/0.8899, allocations: 1.072 MB / 1.373 GB, free: 5.031 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.89, allocations: 8.031 kB / 1.373 GB, free: 5.023 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.8901, allocations: 126.5 kB / 1.373 GB, free: 4.898 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007641/0.8909, allocations: 0.5923 MB / 1.374 GB, free: 4.379 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.8909, allocations: 32 kB / 1.374 GB, free: 4.348 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-05/0.891, allocations: 63.92 kB / 1.374 GB, free: 4.285 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000821/0.8919, allocations: 0.5098 MB / 1.374 GB, free: 3.977 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009587/0.8928, allocations: 0.7079 MB / 1.375 GB, free: 3.449 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.8929, allocations: 0 / 1.375 GB, free: 3.449 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-05/0.8929, allocations: 4 kB / 1.375 GB, free: 3.445 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.8929, allocations: 23.91 kB / 1.375 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002813/0.8958, allocations: 2.465 MB / 1.377 GB, free: 1.473 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/0.8963, allocations: 386.7 kB / 1.378 GB, free: 1.227 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/0.8967, allocations: 341.8 kB / 1.378 GB, free: 1.016 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.392e-05/0.8967, allocations: 11.94 kB / 1.378 GB, free: 1.008 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003501/0.8971, allocations: 296.4 kB / 1.378 GB, free: 0.7969 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=77): time 2.144e-06/0.8971, allocations: 0 / 1.378 GB, free: 0.7969 MB / 0.8073 GB Notification: Performance of matching and sorting (n=77): time 0.0006819/0.8978, allocations: 0.4897 MB / 1.379 GB, free: 432 kB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.8978, allocations: 166.7 kB / 1.379 GB, free: 232 kB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004211/0.8982, allocations: 430.6 kB / 1.379 GB, free: 15.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.8983, allocations: 33.25 kB / 1.379 GB, free: 15.86 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.8985, allocations: 333 kB / 1.38 GB, free: 15.57 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.8986, allocations: 257.8 kB / 1.38 GB, free: 15.35 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.8986, allocations: 3.938 kB / 1.38 GB, free: 15.34 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.8988, allocations: 378.9 kB / 1.38 GB, free: 14.99 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003302/0.8991, allocations: 174.9 kB / 1.381 GB, free: 14.89 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.8995, allocations: 288.4 kB / 1.381 GB, free: 14.68 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/0.8998, allocations: 215.4 kB / 1.381 GB, free: 14.55 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.8998, allocations: 7.875 kB / 1.381 GB, free: 14.54 MB / 0.823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007955/0.9006, allocations: 0.5609 MB / 1.382 GB, free: 14.12 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.166e-05/0.9007, allocations: 185.2 kB / 1.382 GB, free: 13.93 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.9007, allocations: 0 / 1.382 GB, free: 13.93 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.9007, allocations: 7.906 kB / 1.382 GB, free: 13.92 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/0.9014, allocations: 166.2 kB / 1.382 GB, free: 13.77 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.9014, allocations: 4 kB / 1.382 GB, free: 13.76 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003717/0.9018, allocations: 95.42 kB / 1.382 GB, free: 13.67 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.9018, allocations: 30.92 kB / 1.382 GB, free: 13.64 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.233e-06/0.9018, allocations: 7.906 kB / 1.382 GB, free: 13.64 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006494/0.9025, allocations: 444.9 kB / 1.382 GB, free: 13.34 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/0.9025, allocations: 0 / 1.382 GB, free: 13.34 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.68e-06/0.9025, allocations: 4 kB / 1.382 GB, free: 13.33 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004686/0.903, allocations: 131.5 kB / 1.383 GB, free: 13.21 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.903, allocations: 7.938 kB / 1.383 GB, free: 13.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.9033, allocations: 63.53 kB / 1.383 GB, free: 13.14 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.9033, allocations: 23.19 kB / 1.383 GB, free: 13.12 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0001303/0.9035, allocations: 120.7 kB / 1.383 GB, free: 13 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.9036, allocations: 75.09 kB / 1.383 GB, free: 12.92 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.9037, allocations: 74.31 kB / 1.383 GB, free: 12.88 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.9038, allocations: 8 kB / 1.383 GB, free: 12.87 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.9038, allocations: 0 / 1.383 GB, free: 12.87 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.9038, allocations: 7.891 kB / 1.383 GB, free: 12.86 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.9055, allocations: 1.378 MB / 1.384 GB, free: 11.86 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.9056, allocations: 4 kB / 1.384 GB, free: 11.86 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006316/0.9062, allocations: 139.1 kB / 1.384 GB, free: 11.72 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.9062, allocations: 4 kB / 1.384 GB, free: 11.72 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.9063, allocations: 15.06 kB / 1.384 GB, free: 11.71 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.9063, allocations: 0 / 1.384 GB, free: 11.71 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.9063, allocations: 0 / 1.384 GB, free: 11.71 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001132/0.9074, allocations: 0.8821 MB / 1.385 GB, free: 11.06 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.9076, allocations: 159.2 kB / 1.385 GB, free: 10.89 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.932e-05/0.9077, allocations: 4 kB / 1.385 GB, free: 10.89 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003512/0.908, allocations: 51.95 kB / 1.386 GB, free: 10.84 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/0.9081, allocations: 38.72 kB / 1.386 GB, free: 10.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/0.9082, allocations: 15.81 kB / 1.386 GB, free: 10.79 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0003462/0.9085, allocations: 333.6 kB / 1.386 GB, free: 10.55 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006439/0.9092, allocations: 282.3 kB / 1.386 GB, free: 10.27 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 77 * 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.0001817/0.9094, allocations: 123.8 kB / 1.386 GB, free: 10.15 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001055/0.9104, allocations: 0.7775 MB / 1.387 GB, free: 9.621 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.9104, allocations: 0 / 1.387 GB, free: 9.621 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003214/0.9108, allocations: 274.5 kB / 1.387 GB, free: 9.438 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000647/0.9114, allocations: 119.5 kB / 1.387 GB, free: 9.344 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.9135, allocations: 1.179 MB / 1.389 GB, free: 8.27 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007392/0.9143, allocations: 1.079 MB / 1.39 GB, free: 7.164 MB / 0.823 GB Notification: Performance of SimCode: time 3.31e-07/0.9143, allocations: 0 / 1.39 GB, free: 7.164 MB / 0.823 GB Notification: Performance of Templates: time 0.01754/0.9318, allocations: 9.849 MB / 1.399 GB, free: 13.43 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches