Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") [: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.774/1.774, allocations: 387.2 MB / 394.5 MB, free: 13.6 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.000935/0.000935, allocations: 185.2 kB / 487 MB, free: 5.344 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.141/1.141, allocations: 221.3 MB / 0.7819 GB, free: 1.348 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.0008275/0.0008275, allocations: 89.56 kB / 0.9213 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.134e-06/7.154e-06, allocations: 8 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1886, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.481/0.6696, allocations: 148.1 MB / 1.35 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.6699, allocations: 66.09 kB / 1.35 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002515/0.6724, allocations: 0.9702 MB / 1.351 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.6724, allocations: 2.406 kB / 1.351 GB, free: 15.86 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0002067/0.6726, allocations: 369 kB / 1.351 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.6727, allocations: 8.938 kB / 1.351 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.6727, allocations: 14.03 kB / 1.351 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.627e-05/0.6728, allocations: 179.8 kB / 1.351 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.6728, allocations: 2.406 kB / 1.351 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.6729, allocations: 11.5 kB / 1.351 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.128e-05/0.6729, allocations: 43.78 kB / 1.351 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.6731, allocations: 97.72 kB / 1.352 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.6731, allocations: 0 / 1.352 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.6731, allocations: 0 / 1.352 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.6731, allocations: 7.156 kB / 1.352 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.6735, allocations: 437.1 kB / 1.352 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.807e-05/0.6736, allocations: 50.98 kB / 1.352 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.6737, allocations: 29.25 kB / 1.352 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.6737, allocations: 4.953 kB / 1.352 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.6737, allocations: 33.31 kB / 1.352 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.6737, allocations: 0 / 1.352 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001578/0.6739, allocations: 62.72 kB / 1.352 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.6739, allocations: 77.11 kB / 1.352 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.499e-05/0.674, allocations: 124.5 kB / 1.352 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.674, allocations: 25.7 kB / 1.352 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.674, allocations: 109.1 kB / 1.352 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.337e-06/0.6741, allocations: 14.67 kB / 1.352 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.6741, allocations: 1.438 kB / 1.352 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.472e-05/0.6741, allocations: 319.9 kB / 1.353 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.6741, allocations: 12.19 kB / 1.353 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.29e-05/0.6742, allocations: 22.06 kB / 1.353 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.852e-05/0.6742, allocations: 15.47 kB / 1.353 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.6742, allocations: 0 / 1.353 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.21e-05/0.6743, allocations: 65.02 kB / 1.353 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.6743, allocations: 11.81 kB / 1.353 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.6743, allocations: 2.969 kB / 1.353 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.6743, allocations: 3.906 kB / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.082e-05/0.6744, allocations: 8.188 kB / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.6744, allocations: 6.625 kB / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.504e-05/0.6745, allocations: 2.031 kB / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.6745, allocations: 1.375 kB / 1.353 GB, free: 14.02 MB / 0.8073 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 (6): * Single equations (assignments): 6 * 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.146e-05/0.6745, allocations: 106.5 kB / 1.353 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.492e-05/0.6746, allocations: 8.812 kB / 1.353 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.6746, allocations: 17.25 kB / 1.353 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.6746, allocations: 1.25 kB / 1.353 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.6746, allocations: 2.797 kB / 1.353 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6746, allocations: 2.188 kB / 1.353 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.6749, allocations: 488.5 kB / 1.353 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6749, allocations: 1.375 kB / 1.353 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.79e-05/0.6749, allocations: 7.141 kB / 1.354 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.6749, allocations: 1.375 kB / 1.354 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.6749, allocations: 1.375 kB / 1.354 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.675, allocations: 1.5 kB / 1.354 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.675, allocations: 9.312 kB / 1.354 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.244e-05/0.675, allocations: 136.6 kB / 1.354 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.6751, allocations: 90.48 kB / 1.354 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.6751, allocations: 3.922 kB / 1.354 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.409e-05/0.6751, allocations: 0 / 1.354 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.889e-06/0.6751, allocations: 7.844 kB / 1.354 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.6751, allocations: 2.062 kB / 1.354 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.942e-05/0.6752, allocations: 102.1 kB / 1.354 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001733/0.6754, allocations: 18.25 kB / 1.354 GB, free: 13.11 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * 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 7.856e-05/0.6754, allocations: 105.4 kB / 1.354 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.842e-05/0.6755, allocations: 24.39 kB / 1.354 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.6755, allocations: 0 / 1.354 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.646e-05/0.6755, allocations: 15.09 kB / 1.354 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.719e-05/0.6757, allocations: 5.844 kB / 1.354 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.6759, allocations: 126.6 kB / 1.354 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.676, allocations: 0.7182 MB / 1.355 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of SimCode: time 2.41e-07/0.676, allocations: 0 / 1.355 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of Templates: time 0.001829/0.6779, allocations: 426.5 kB / 1.355 GB, free: 12.12 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches