Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.776/1.776, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.0009828/0.0009828, allocations: 181.3 kB / 487 MB, free: 5.375 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.131/1.131, allocations: 221.3 MB / 0.7819 GB, free: 1.363 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.0009009/0.0009009, allocations: 94.69 kB / 0.9213 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.543e-06/6.643e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2019, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.528/0.73, allocations: 148 MB / 1.35 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001803/0.7302, allocations: 66.06 kB / 1.35 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002214/0.7324, allocations: 0.7654 MB / 1.351 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.7324, allocations: 5.688 kB / 1.351 GB, free: 15.81 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0002233/0.7327, allocations: 356.9 kB / 1.351 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.7327, allocations: 11 kB / 1.351 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.7328, allocations: 9.5 kB / 1.351 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.7329, allocations: 172.3 kB / 1.351 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.7329, allocations: 3.031 kB / 1.351 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.7329, allocations: 4.469 kB / 1.351 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.177e-05/0.733, allocations: 34.31 kB / 1.351 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.7331, allocations: 83.77 kB / 1.351 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.7331, allocations: 4 kB / 1.351 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.7332, allocations: 0 / 1.351 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.7332, allocations: 3 kB / 1.351 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.7336, allocations: 409.4 kB / 1.352 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.728e-05/0.7336, allocations: 45.95 kB / 1.352 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.849e-05/0.7337, allocations: 14.78 kB / 1.352 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.7337, allocations: 1.25 kB / 1.352 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.7337, allocations: 40.81 kB / 1.352 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.7337, allocations: 3.938 kB / 1.352 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.000139/0.7338, allocations: 43.23 kB / 1.352 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/0.7339, allocations: 77.89 kB / 1.352 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.054e-05/0.734, allocations: 120.4 kB / 1.352 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.843e-06/0.734, allocations: 27.34 kB / 1.352 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.734, allocations: 111.7 kB / 1.352 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.491e-06/0.734, allocations: 5.094 kB / 1.352 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-06/0.734, allocations: 1.312 kB / 1.352 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.204e-05/0.7341, allocations: 318.6 kB / 1.352 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.7341, allocations: 6.938 kB / 1.352 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.675e-05/0.7341, allocations: 16.84 kB / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.915e-05/0.7341, allocations: 6.281 kB / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.7342, allocations: 4 kB / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.331e-05/0.7342, allocations: 57.88 kB / 1.352 GB, free: 14 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.7342, allocations: 5.25 kB / 1.352 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.7343, allocations: 2.234 kB / 1.352 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.7343, allocations: 0 / 1.352 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.701e-05/0.7343, allocations: 10.19 kB / 1.352 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.7344, allocations: 1.359 kB / 1.352 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.686e-05/0.7344, allocations: 10.11 kB / 1.352 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.7344, allocations: 1.844 kB / 1.352 GB, free: 13.99 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 (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 4.318e-05/0.7345, allocations: 109 kB / 1.353 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.7345, allocations: 10.88 kB / 1.353 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.7345, allocations: 10.81 kB / 1.353 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.7345, allocations: 0 / 1.353 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.7346, allocations: 2.406 kB / 1.353 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.7346, allocations: 1.25 kB / 1.353 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.7348, allocations: 440.5 kB / 1.353 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.7348, allocations: 1.031 kB / 1.353 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.169e-05/0.7349, allocations: 8.766 kB / 1.353 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.7349, allocations: 224 / 1.353 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.7349, allocations: 1.375 kB / 1.353 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.7349, allocations: 5.281 kB / 1.353 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.7349, allocations: 0 / 1.353 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.969e-05/0.735, allocations: 88.28 kB / 1.353 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.977e-05/0.735, allocations: 84.17 kB / 1.353 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.735, allocations: 2.234 kB / 1.353 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.726e-05/0.735, allocations: 0.9688 kB / 1.353 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.53e-05/0.7351, allocations: 4.938 kB / 1.353 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.7351, allocations: 1.156 kB / 1.353 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.69e-05/0.7351, allocations: 103 kB / 1.353 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001742/0.7353, allocations: 7.656 kB / 1.353 GB, free: 13.16 MB / 0.8073 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 8.695e-05/0.7354, allocations: 104.2 kB / 1.353 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.81e-05/0.7355, allocations: 18.64 kB / 1.353 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.7355, allocations: 1.094 kB / 1.353 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.776e-06/0.7355, allocations: 6.469 kB / 1.353 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.395e-05/0.7356, allocations: 6.188 kB / 1.353 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000214/0.7358, allocations: 106.5 kB / 1.354 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.736, allocations: 0.7109 MB / 1.354 GB, free: 28.26 MB / 0.823 GB Notification: Performance of SimCode: time 2.81e-07/0.736, allocations: 0 / 1.354 GB, free: 28.26 MB / 0.823 GB Notification: Performance of Templates: time 0.001751/0.7377, allocations: 329.2 kB / 1.355 GB, free: 28.2 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches