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.Log.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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") [: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.351/1.351, allocations: 249.4 MB / 256.7 MB, free: 7.074 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.001203/0.001203, allocations: 188.5 kB / 316 MB, free: 3.586 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.468/1.468, allocations: 205.2 MB / 0.5667 GB, free: 15.64 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.001041/0.001041, allocations: 82.47 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.128e-05/1.131e-05, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2309, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6472/0.8781, allocations: 131.7 MB / 1.013 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.8784, allocations: 73.2 kB / 1.013 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.001637/0.88, allocations: 369.6 kB / 1.014 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.8801, allocations: 0 / 1.014 GB, free: 6.707 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003535/0.8804, allocations: 343 kB / 1.014 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.8805, allocations: 8.031 kB / 1.014 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.8805, allocations: 0 / 1.014 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.8807, allocations: 167 kB / 1.014 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.8807, allocations: 0 / 1.014 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.8807, allocations: 3.938 kB / 1.014 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.939e-05/0.8808, allocations: 11.31 kB / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.15e-05/0.8809, allocations: 33.69 kB / 1.014 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.8809, allocations: 0 / 1.014 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.8809, allocations: 0 / 1.014 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.8809, allocations: 4 kB / 1.014 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.8813, allocations: 244.6 kB / 1.014 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.073e-05/0.8814, allocations: 30.25 kB / 1.014 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.794e-05/0.8814, allocations: 20.34 kB / 1.014 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.8815, allocations: 0 / 1.014 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.8815, allocations: 30.56 kB / 1.014 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.8815, allocations: 0 / 1.014 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001586/0.8817, allocations: 37.08 kB / 1.014 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.8817, allocations: 51.41 kB / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.8818, allocations: 102.9 kB / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.8818, allocations: 25.7 kB / 1.015 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.8819, allocations: 88.12 kB / 1.015 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.8819, allocations: 3.906 kB / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-06/0.8819, allocations: 0 / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.882, allocations: 314.3 kB / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.8821, allocations: 4 kB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.356e-05/0.8821, allocations: 7.312 kB / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.699e-05/0.8821, allocations: 8.75 kB / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8821, allocations: 0 / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.875e-05/0.8822, allocations: 45.56 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.8822, allocations: 4 kB / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.8822, allocations: 0 / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.8822, allocations: 0 / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.8823, allocations: 12.86 kB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.8824, allocations: 11.94 kB / 1.015 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.349e-05/0.8824, allocations: 7.938 kB / 1.015 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.8824, allocations: 0 / 1.015 GB, free: 4.965 MB / 0.6355 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 (2): * Single equations (assignments): 2 * 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 7.671e-05/0.8825, allocations: 105 kB / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.8826, allocations: 0 / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.8827, allocations: 64.05 kB / 1.015 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.8827, allocations: 0 / 1.015 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.8827, allocations: 0 / 1.015 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.8827, allocations: 3.984 kB / 1.015 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.8828, allocations: 134.2 kB / 1.015 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.8829, allocations: 3.938 kB / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.23e-05/0.8829, allocations: 19.73 kB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.8829, allocations: 0 / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.883, allocations: 0 / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.883, allocations: 4.031 kB / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.883, allocations: 7.891 kB / 1.015 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000103/0.8831, allocations: 131 kB / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.8831, allocations: 85 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.8831, allocations: 0 / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-05/0.8832, allocations: 12.03 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.8833, allocations: 3.984 kB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.8833, allocations: 0 / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.375e-05/0.8833, allocations: 86.78 kB / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001997/0.8835, allocations: 4 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001532/0.8837, allocations: 99.25 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.979e-05/0.8838, allocations: 11 kB / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8838, allocations: 4.062 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.016e-05/0.8838, allocations: 7.688 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.884, allocations: 3.984 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002051/0.8842, allocations: 68.34 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/0.8845, allocations: 0.6841 MB / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/0.8845, allocations: 0 / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of Templates: time 0.002037/0.8866, allocations: 419.7 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Log.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches