Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.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.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.y|der1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.y|der1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") [: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.87/1.87, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.001017/0.001016, allocations: 173.3 kB / 487 MB, free: 5.379 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.387/1.387, 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.0008936/0.0008935, allocations: 97.98 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.504e-06/7.524e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2445, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6196/0.8642, allocations: 148.8 MB / 1.351 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.8645, allocations: 86.78 kB / 1.351 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.003537/0.868, allocations: 1.126 MB / 1.352 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.868, allocations: 0 / 1.352 GB, free: 15.52 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003159/0.8684, allocations: 361.6 kB / 1.352 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.8684, allocations: 9.625 kB / 1.352 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.8684, allocations: 3.672 kB / 1.352 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.8687, allocations: 193.4 kB / 1.352 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.8687, allocations: 0.9375 kB / 1.352 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.8687, allocations: 2.344 kB / 1.352 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.359e-05/0.8688, allocations: 20.69 kB / 1.352 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.194e-05/0.8689, allocations: 45.83 kB / 1.352 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.8689, allocations: 0 / 1.352 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.8689, allocations: 0 / 1.352 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.8689, allocations: 1.375 kB / 1.352 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.8693, allocations: 271.6 kB / 1.353 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.97e-05/0.8693, allocations: 42.94 kB / 1.353 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.815e-05/0.8694, allocations: 15.09 kB / 1.353 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.8694, allocations: 6.844 kB / 1.353 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.8694, allocations: 33.2 kB / 1.353 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.8694, allocations: 0 / 1.353 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.000152/0.8696, allocations: 53.25 kB / 1.353 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.705e-05/0.8696, allocations: 52.47 kB / 1.353 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.675e-05/0.8697, allocations: 100.2 kB / 1.353 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.8697, allocations: 29.7 kB / 1.353 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.445e-05/0.8697, allocations: 90.83 kB / 1.353 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.8697, allocations: 15.86 kB / 1.353 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.8697, allocations: 0 / 1.353 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.688e-05/0.8698, allocations: 317 kB / 1.353 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.334e-05/0.8698, allocations: 9.625 kB / 1.353 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/0.8698, allocations: 8.938 kB / 1.353 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.631e-05/0.8699, allocations: 14.2 kB / 1.353 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.8699, allocations: 0 / 1.353 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.646e-05/0.87, allocations: 69.33 kB / 1.353 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.87, allocations: 5.469 kB / 1.353 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.87, allocations: 0 / 1.353 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.87, allocations: 0 / 1.353 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.8701, allocations: 17.09 kB / 1.353 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.8701, allocations: 0 / 1.353 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.173e-05/0.8702, allocations: 13.64 kB / 1.353 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.8702, allocations: 2.219 kB / 1.353 GB, free: 13.91 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 4.22e-05/0.8703, allocations: 110 kB / 1.354 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.8703, allocations: 6.688 kB / 1.354 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.8704, allocations: 61.98 kB / 1.354 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.8704, allocations: 0 / 1.354 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.8704, allocations: 1.156 kB / 1.354 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.8704, allocations: 0 / 1.354 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.8706, allocations: 151 kB / 1.354 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8706, allocations: 1.812 kB / 1.354 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.8707, allocations: 15.52 kB / 1.354 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.8707, allocations: 384 / 1.354 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.8707, allocations: 4.969 kB / 1.354 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.8707, allocations: 0 / 1.354 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8707, allocations: 1.406 kB / 1.354 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001564/0.8709, allocations: 175.5 kB / 1.354 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.8709, allocations: 77.89 kB / 1.354 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.8709, allocations: 1.656 kB / 1.354 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.749e-05/0.871, allocations: 13.02 kB / 1.354 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.8711, allocations: 3.641 kB / 1.354 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.8711, allocations: 1.625 kB / 1.354 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.666e-05/0.8711, allocations: 90.56 kB / 1.354 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002038/0.8713, allocations: 11.06 kB / 1.354 GB, free: 13.27 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001182/0.8715, allocations: 100.5 kB / 1.354 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.633e-05/0.8715, allocations: 27.09 kB / 1.354 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.8716, allocations: 0.7188 kB / 1.354 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.12e-05/0.8716, allocations: 12.53 kB / 1.354 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.8718, allocations: 12.86 kB / 1.354 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002691/0.8721, allocations: 82.05 kB / 1.354 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.8722, allocations: 0.6976 MB / 1.355 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of SimCode: time 2.51e-07/0.8722, allocations: 0 / 1.355 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of Templates: time 0.00294/0.8752, allocations: 0.58 MB / 1.356 GB, free: 12.34 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches