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.LimPIDInitialDerivativeOutput.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.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPD.D.y|limPID.y|limPD.y|limPID.D.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPD.D.y|limPID.y|limPD.y|limPID.D.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") [: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.461/1.461, allocations: 249.4 MB / 256.7 MB, free: 7.051 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.001269/0.001269, allocations: 192.4 kB / 316 MB, free: 3.574 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.534/1.534, allocations: 205.1 MB / 0.5667 GB, free: 15.7 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.001072/0.001072, allocations: 90.52 kB / 0.671 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.929e-06/9.949e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1686, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4936/0.6623, allocations: 134.2 MB / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.6626, allocations: 81.73 kB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01889/0.6815, allocations: 7.593 MB / 1.023 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.812e-05/0.6815, allocations: 8 kB / 1.023 GB, free: 14.17 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0008152/0.6824, allocations: 0.6253 MB / 1.024 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.6824, allocations: 12.03 kB / 1.024 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.045e-05/0.6825, allocations: 51.34 kB / 1.024 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006185/0.6831, allocations: 396.5 kB / 1.024 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.6832, allocations: 12 kB / 1.024 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/0.6833, allocations: 24 kB / 1.024 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003808/0.6836, allocations: 218.2 kB / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/0.6841, allocations: 306.5 kB / 1.025 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.6841, allocations: 3.984 kB / 1.025 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.6842, allocations: 7.906 kB / 1.025 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.6842, allocations: 8 kB / 1.025 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.6858, allocations: 1.32 MB / 1.026 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006821/0.6865, allocations: 261.4 kB / 1.026 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.6867, allocations: 106.3 kB / 1.026 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.6867, allocations: 4 kB / 1.026 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.6868, allocations: 41.94 kB / 1.026 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=25): time 1.884e-06/0.6868, allocations: 0 / 1.026 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25): time 0.0003923/0.6872, allocations: 211.4 kB / 1.027 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.781e-05/0.6873, allocations: 105.9 kB / 1.027 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.6876, allocations: 279.2 kB / 1.027 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.6876, allocations: 25.7 kB / 1.027 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.6877, allocations: 196 kB / 1.027 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.775e-05/0.6878, allocations: 96.03 kB / 1.027 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.236e-05/0.6878, allocations: 3.938 kB / 1.027 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.6879, allocations: 344.2 kB / 1.028 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.6881, allocations: 77.55 kB / 1.028 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.6882, allocations: 149 kB / 1.028 GB, free: 9.906 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.6884, allocations: 96.16 kB / 1.028 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.6884, allocations: 0 / 1.028 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004014/0.6888, allocations: 278.8 kB / 1.028 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001624/0.689, allocations: 446 kB / 1.029 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.689, allocations: 3.906 kB / 1.029 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.689, allocations: 4 kB / 1.029 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.6893, allocations: 75.52 kB / 1.029 GB, free: 9.098 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.6893, allocations: 7.938 kB / 1.029 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.6896, allocations: 43.77 kB / 1.029 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.6896, allocations: 11.56 kB / 1.029 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.242e-06/0.6896, allocations: 4 kB / 1.029 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002934/0.6899, allocations: 201.5 kB / 1.029 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.6899, allocations: 4 kB / 1.029 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-06/0.6899, allocations: 0 / 1.029 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.6901, allocations: 60 kB / 1.029 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.6902, allocations: 4 kB / 1.029 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.6903, allocations: 23.83 kB / 1.029 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.6903, allocations: 15.81 kB / 1.029 GB, free: 8.801 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.000109/0.6905, allocations: 112.8 kB / 1.029 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.6905, allocations: 35.62 kB / 1.029 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.357e-05/0.6906, allocations: 36.44 kB / 1.029 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.6906, allocations: 4 kB / 1.029 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.6906, allocations: 0 / 1.029 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.6906, allocations: 7.938 kB / 1.029 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.6917, allocations: 0.7681 MB / 1.03 GB, free: 7.926 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.6917, allocations: 7.906 kB / 1.03 GB, free: 7.918 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.692, allocations: 60.19 kB / 1.03 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.692, allocations: 4 kB / 1.03 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.692, allocations: 7.812 kB / 1.03 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.692, allocations: 15.91 kB / 1.03 GB, free: 7.836 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.6921, allocations: 0 / 1.03 GB, free: 7.836 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005961/0.6927, allocations: 0.5806 MB / 1.031 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.369e-05/0.6927, allocations: 108.6 kB / 1.031 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.6928, allocations: 7.984 kB / 1.031 GB, free: 7.137 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.693, allocations: 23.98 kB / 1.031 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.6931, allocations: 19.45 kB / 1.031 GB, free: 7.098 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.6931, allocations: 15.56 kB / 1.031 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002432/0.6933, allocations: 223.9 kB / 1.031 GB, free: 6.918 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000442/0.6938, allocations: 119.3 kB / 1.031 GB, free: 6.801 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,limPD.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.0001903/0.694, allocations: 115.1 kB / 1.031 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005082/0.6945, allocations: 321.7 kB / 1.032 GB, free: 6.477 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.6945, allocations: 4 kB / 1.032 GB, free: 6.473 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.6946, allocations: 98.55 kB / 1.032 GB, free: 6.406 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.6951, allocations: 71.34 kB / 1.032 GB, free: 6.352 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.6963, allocations: 0.5736 MB / 1.032 GB, free: 5.785 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004775/0.6968, allocations: 0.8462 MB / 1.033 GB, free: 4.91 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.6968, allocations: 0 / 1.033 GB, free: 4.91 MB / 0.6511 GB Notification: Performance of Templates: time 0.009197/0.706, allocations: 4.687 MB / 1.038 GB, free: 300 kB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches