Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 2.127/2.127, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001237/0.001237, allocations: 193.2 kB / 490.8 MB, free: 1.965 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.253/1.253, allocations: 221.3 MB / 0.7863 GB, free: 13.72 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.0009017/0.0009017, allocations: 108 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.554e-06/7.754e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2439, allocations: 143 MB / 1.212 GB, free: 40.13 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6923/0.9362, allocations: 154.4 MB / 1.362 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.9366, allocations: 87.64 kB / 1.362 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.04482/0.9814, allocations: 17 MB / 1.379 GB, free: 14.56 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.769e-05/0.9815, allocations: 21.25 kB / 1.379 GB, free: 14.56 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002196/0.9837, allocations: 1.073 MB / 1.38 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.9838, allocations: 9.219 kB / 1.38 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004028/0.9842, allocations: 122.7 kB / 1.38 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.9854, allocations: 0.5917 MB / 1.381 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.16e-05/0.9855, allocations: 29.47 kB / 1.381 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.9856, allocations: 61.31 kB / 1.381 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001253/0.9869, allocations: 0.5132 MB / 1.381 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.9882, allocations: 0.7029 MB / 1.382 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/0.9883, allocations: 4 kB / 1.382 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-05/0.9883, allocations: 2.031 kB / 1.382 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.139e-05/0.9884, allocations: 23.12 kB / 1.382 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004322/0.9927, allocations: 2.467 MB / 1.385 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007051/0.9934, allocations: 375.8 kB / 1.385 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005188/0.994, allocations: 336.3 kB / 1.385 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.061e-05/0.994, allocations: 12.38 kB / 1.385 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004922/0.9945, allocations: 301.3 kB / 1.385 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=77): time 3.727e-06/0.9945, allocations: 0 / 1.385 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=77): time 0.001004/0.9955, allocations: 0.4919 MB / 1.386 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/0.9956, allocations: 167.5 kB / 1.386 GB, free: 27.4 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006857/0.9963, allocations: 429.4 kB / 1.387 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.775e-05/0.9964, allocations: 31 kB / 1.387 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.9966, allocations: 344.4 kB / 1.387 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.9968, allocations: 251.4 kB / 1.387 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.9969, allocations: 0 / 1.387 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002105/0.9971, allocations: 378.2 kB / 1.388 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/0.9975, allocations: 180.2 kB / 1.388 GB, free: 26.44 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004148/0.9979, allocations: 289.8 kB / 1.388 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004057/0.9983, allocations: 214.9 kB / 1.388 GB, free: 26.31 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.9983, allocations: 1.344 kB / 1.388 GB, free: 26.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001008/0.9993, allocations: 0.5648 MB / 1.389 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.485e-05/0.9994, allocations: 188.7 kB / 1.389 GB, free: 26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.9994, allocations: 0 / 1.389 GB, free: 26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/0.9995, allocations: 4.75 kB / 1.389 GB, free: 26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007029/1, allocations: 166.8 kB / 1.389 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/1, allocations: 7.344 kB / 1.389 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004713/1.001, allocations: 91.12 kB / 1.389 GB, free: 25.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.117e-05/1.001, allocations: 27.89 kB / 1.389 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/1.001, allocations: 3.188 kB / 1.389 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000796/1.002, allocations: 449.5 kB / 1.39 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/1.002, allocations: 1.125 kB / 1.39 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/1.002, allocations: 7.188 kB / 1.39 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005086/1.002, allocations: 138.9 kB / 1.39 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/1.002, allocations: 3.25 kB / 1.39 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/1.002, allocations: 63.81 kB / 1.39 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/1.003, allocations: 18.97 kB / 1.39 GB, free: 25.8 MB / 0.8386 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.0001718/1.003, allocations: 128.4 kB / 1.39 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/1.003, allocations: 69.28 kB / 1.39 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/1.003, allocations: 76.31 kB / 1.39 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/1.003, allocations: 7.031 kB / 1.39 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/1.003, allocations: 0 / 1.39 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/1.003, allocations: 5.359 kB / 1.39 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/1.005, allocations: 1.371 MB / 1.391 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.005, allocations: 0 / 1.391 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006183/1.006, allocations: 148.6 kB / 1.392 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/1.006, allocations: 10.72 kB / 1.392 GB, free: 25.03 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/1.006, allocations: 10.61 kB / 1.392 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/1.006, allocations: 2.812 kB / 1.392 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.006, allocations: 0 / 1.392 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001228/1.007, allocations: 0.8938 MB / 1.392 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/1.007, allocations: 158.5 kB / 1.393 GB, free: 24.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.436e-05/1.007, allocations: 1.188 kB / 1.393 GB, free: 24.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/1.008, allocations: 48.23 kB / 1.393 GB, free: 24.62 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.907e-05/1.008, allocations: 40.06 kB / 1.393 GB, free: 24.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-05/1.008, allocations: 18.53 kB / 1.393 GB, free: 24.6 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0004385/1.008, allocations: 331.7 kB / 1.393 GB, free: 24.49 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000967/1.009, allocations: 281.6 kB / 1.393 GB, free: 24.41 MB / 0.8386 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.000194/1.009, allocations: 122.3 kB / 1.393 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001471/1.011, allocations: 0.7764 MB / 1.394 GB, free: 24.26 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.011, allocations: 5.688 kB / 1.394 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004371/1.011, allocations: 267.1 kB / 1.394 GB, free: 24.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007375/1.012, allocations: 124.9 kB / 1.395 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/1.015, allocations: 1.173 MB / 1.396 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009508/1.016, allocations: 1.076 MB / 1.397 GB, free: 22.82 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.016, allocations: 1.406 kB / 1.397 GB, free: 22.82 MB / 0.8386 GB Notification: Performance of Templates: time 0.02403/1.04, allocations: 9.852 MB / 1.406 GB, free: 16.82 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches