Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") [: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.779/1.779, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001041/0.001042, allocations: 176.8 kB / 487 MB, free: 5.348 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.108/1.108, allocations: 221.3 MB / 0.7819 GB, free: 1.355 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.0008404/0.0008406, allocations: 104 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.633e-06/6.673e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1723, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4904/0.6627, allocations: 148 MB / 1.35 GB, free: 16.14 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001581/0.6629, allocations: 64.45 kB / 1.35 GB, free: 16.14 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.001993/0.6649, allocations: 0.7739 MB / 1.351 GB, free: 16.09 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.665, allocations: 2.625 kB / 1.351 GB, free: 16.09 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.0001964/0.6652, allocations: 350 kB / 1.351 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.6652, allocations: 9 kB / 1.351 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.6652, allocations: 9.031 kB / 1.351 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.6653, allocations: 178.7 kB / 1.351 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.6654, allocations: 3 kB / 1.351 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.6654, allocations: 7.344 kB / 1.351 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.872e-05/0.6655, allocations: 38.16 kB / 1.351 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.633e-05/0.6656, allocations: 83.39 kB / 1.351 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.6656, allocations: 0 / 1.351 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.6656, allocations: 0 / 1.351 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.6656, allocations: 2.344 kB / 1.351 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/0.666, allocations: 414.6 kB / 1.352 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.284e-05/0.666, allocations: 31.91 kB / 1.352 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.628e-05/0.6661, allocations: 23.91 kB / 1.352 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.6661, allocations: 1.375 kB / 1.352 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.6661, allocations: 37.42 kB / 1.352 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.6661, allocations: 0 / 1.352 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.000126/0.6662, allocations: 43.84 kB / 1.352 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.675e-05/0.6662, allocations: 82.55 kB / 1.352 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.701e-05/0.6663, allocations: 111.9 kB / 1.352 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.859e-06/0.6663, allocations: 27.34 kB / 1.352 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.922e-05/0.6664, allocations: 112.5 kB / 1.352 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.081e-06/0.6664, allocations: 9.969 kB / 1.352 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-06/0.6664, allocations: 0 / 1.352 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.475e-05/0.6664, allocations: 313.5 kB / 1.352 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.365e-05/0.6664, allocations: 7.938 kB / 1.352 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.777e-05/0.6665, allocations: 27.22 kB / 1.352 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.817e-05/0.6665, allocations: 8.25 kB / 1.352 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.6665, allocations: 0 / 1.352 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.318e-05/0.6666, allocations: 49.84 kB / 1.352 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.727e-06/0.6666, allocations: 5.469 kB / 1.352 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.6666, allocations: 1.031 kB / 1.352 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.6666, allocations: 1 kB / 1.352 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.522e-05/0.6667, allocations: 6.391 kB / 1.352 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.6667, allocations: 9.594 kB / 1.352 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.394e-05/0.6667, allocations: 10.5 kB / 1.353 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.6667, allocations: 1.312 kB / 1.353 GB, free: 14.27 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 3.185e-05/0.6667, allocations: 102.3 kB / 1.353 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.6668, allocations: 6.594 kB / 1.353 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.6668, allocations: 10.92 kB / 1.353 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6668, allocations: 1.406 kB / 1.353 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.6668, allocations: 0 / 1.353 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.6668, allocations: 2.797 kB / 1.353 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.667, allocations: 445.3 kB / 1.353 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.6671, allocations: 0 / 1.353 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.705e-05/0.6671, allocations: 5.156 kB / 1.353 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.6671, allocations: 224 / 1.353 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.6671, allocations: 3.125 kB / 1.353 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.6671, allocations: 4.844 kB / 1.353 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6671, allocations: 0 / 1.353 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.146e-05/0.6672, allocations: 88.83 kB / 1.353 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.352e-05/0.6672, allocations: 84.2 kB / 1.353 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.6672, allocations: 2.406 kB / 1.353 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.725e-05/0.6672, allocations: 0 / 1.353 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-06/0.6672, allocations: 9.219 kB / 1.353 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.6673, allocations: 5.406 kB / 1.353 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.477e-05/0.6673, allocations: 100.6 kB / 1.353 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001647/0.6675, allocations: 6.875 kB / 1.353 GB, free: 13.43 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 7.772e-05/0.6675, allocations: 98.25 kB / 1.353 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.396e-05/0.6676, allocations: 16 kB / 1.353 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-06/0.6676, allocations: 1.375 kB / 1.353 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.576e-06/0.6676, allocations: 8.062 kB / 1.353 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.601e-05/0.6677, allocations: 17.22 kB / 1.353 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001837/0.6679, allocations: 99.5 kB / 1.354 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.668, allocations: 0.7056 MB / 1.354 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of SimCode: time 2.41e-07/0.668, allocations: 0 / 1.354 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of Templates: time 0.001665/0.6697, allocations: 336.3 kB / 1.355 GB, free: 12.48 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches