Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [: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.328/1.328, allocations: 249.4 MB / 256.7 MB, free: 6.895 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.001211/0.001211, allocations: 185.2 kB / 316 MB, free: 3.5 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.511/1.511, allocations: 205.2 MB / 0.5667 GB, free: 15.57 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.0009757/0.0009757, allocations: 98.48 kB / 0.671 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.426e-06/8.446e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2185, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5478/0.7663, allocations: 131.7 MB / 1.013 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001695/0.7665, allocations: 63.72 kB / 1.013 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002421/0.769, allocations: 0.8408 MB / 1.014 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.769, allocations: 4 kB / 1.014 GB, free: 6.188 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0002808/0.7693, allocations: 371.4 kB / 1.014 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.7693, allocations: 12.72 kB / 1.014 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.7694, allocations: 11.91 kB / 1.014 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.7695, allocations: 174.9 kB / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.7696, allocations: 4 kB / 1.015 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.7696, allocations: 4 kB / 1.015 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.967e-05/0.7697, allocations: 37.03 kB / 1.015 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.7698, allocations: 86.7 kB / 1.015 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.7698, allocations: 0.75 kB / 1.015 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.7699, allocations: 3.938 kB / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.7699, allocations: 4 kB / 1.015 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005146/0.7704, allocations: 412.6 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.236e-05/0.7705, allocations: 41.16 kB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.908e-05/0.7705, allocations: 13.84 kB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.7705, allocations: 6.5 kB / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.7705, allocations: 42.47 kB / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.7705, allocations: 0 / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001544/0.7707, allocations: 40.7 kB / 1.015 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.7708, allocations: 85.02 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.948e-05/0.7709, allocations: 124.4 kB / 1.015 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.7709, allocations: 25.7 kB / 1.015 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.771, allocations: 103.6 kB / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.183e-06/0.771, allocations: 10.41 kB / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-06/0.771, allocations: 0 / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.7711, allocations: 322 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.7711, allocations: 7.938 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.163e-05/0.7711, allocations: 17.28 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.134e-05/0.7712, allocations: 7.812 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.7712, allocations: 3.906 kB / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.986e-05/0.7713, allocations: 61.12 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.7713, allocations: 4 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.7713, allocations: 2.375 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.7713, allocations: 3.906 kB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.767e-05/0.7714, allocations: 8 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.7714, allocations: 0 / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.176e-05/0.7714, allocations: 7.922 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.7714, allocations: 4 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.129e-05/0.7715, allocations: 107.7 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.7716, allocations: 7.906 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.7716, allocations: 14.67 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.7716, allocations: 4 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.7716, allocations: 7.844 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.7716, allocations: 0 / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.772, allocations: 448 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.772, allocations: 4.062 kB / 1.017 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-05/0.772, allocations: 4 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.772, allocations: 0 / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.772, allocations: 3.938 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.772, allocations: 7.984 kB / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.772, allocations: 0 / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001078/0.7722, allocations: 87.19 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.7722, allocations: 92.94 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.7722, allocations: 4 kB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.204e-05/0.7723, allocations: 0 / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.7723, allocations: 3.906 kB / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-06/0.7723, allocations: 0 / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.054e-05/0.7723, allocations: 107 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000174/0.7725, allocations: 8 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 9.413e-05/0.7726, allocations: 99.28 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.886e-05/0.7727, allocations: 19.19 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7727, allocations: 3.25 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.189e-05/0.7727, allocations: 4 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001113/0.7728, allocations: 14.17 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002457/0.7731, allocations: 112.8 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/0.7734, allocations: 0.7116 MB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of SimCode: time 2.61e-07/0.7734, allocations: 0 / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of Templates: time 0.001929/0.7753, allocations: 379.5 kB / 1.018 GB, free: 1.727 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches