Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.768/1.768, allocations: 387.2 MB / 394.5 MB, free: 13.37 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009685/0.0009685, allocations: 185.8 kB / 487 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.086/1.086, allocations: 221.3 MB / 0.7819 GB, free: 6.836 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008029/0.0008028, allocations: 90.47 kB / 0.9213 GB, free: 43.73 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 5.981e-06/6.011e-06, allocations: 0 / 1.066 GB, free: 7.613 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4777/0.4778, allocations: 142.3 MB / 1.205 GB, free: 72.76 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.6208, allocations: 148 MB / 1.35 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001697/0.6211, allocations: 67.95 kB / 1.35 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.002135/0.6232, allocations: 0.7731 MB / 1.351 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.6232, allocations: 4 kB / 1.351 GB, free: 14.48 MB / 0.8542 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.0002395/0.6235, allocations: 350.2 kB / 1.351 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.6235, allocations: 13.16 kB / 1.351 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.6236, allocations: 7.906 kB / 1.351 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.6237, allocations: 176.8 kB / 1.351 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.6237, allocations: 7.312 kB / 1.351 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.6237, allocations: 4 kB / 1.351 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.167e-05/0.6238, allocations: 39.84 kB / 1.351 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.6239, allocations: 78.61 kB / 1.351 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.6239, allocations: 4.219 kB / 1.351 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.6239, allocations: 0 / 1.351 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.624, allocations: 3.938 kB / 1.351 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.6244, allocations: 406.7 kB / 1.352 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.107e-05/0.6244, allocations: 45.98 kB / 1.352 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.691e-05/0.6244, allocations: 14.69 kB / 1.352 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.6245, allocations: 0.5 kB / 1.352 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.6245, allocations: 40.25 kB / 1.352 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.6245, allocations: 0 / 1.352 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001281/0.6246, allocations: 46.28 kB / 1.352 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.6247, allocations: 79.58 kB / 1.352 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.31e-05/0.6247, allocations: 117.5 kB / 1.352 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.6248, allocations: 25.7 kB / 1.352 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.398e-05/0.6248, allocations: 116 kB / 1.352 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.53e-06/0.6248, allocations: 3.906 kB / 1.352 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-06/0.6248, allocations: 0 / 1.352 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.307e-05/0.6249, allocations: 310.8 kB / 1.352 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.48e-05/0.6249, allocations: 8 kB / 1.352 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.866e-05/0.6249, allocations: 21.7 kB / 1.352 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.1e-05/0.625, allocations: 11.94 kB / 1.352 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.625, allocations: 4 kB / 1.352 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.663e-05/0.6251, allocations: 49.61 kB / 1.352 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.669e-06/0.6251, allocations: 8 kB / 1.352 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.6251, allocations: 3.984 kB / 1.352 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.6251, allocations: 0 / 1.352 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.434e-05/0.6251, allocations: 4.5 kB / 1.352 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.6252, allocations: 4 kB / 1.352 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.522e-05/0.6252, allocations: 7.844 kB / 1.352 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.6252, allocations: 3.938 kB / 1.352 GB, free: 12.29 MB / 0.8542 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 5.014e-05/0.6253, allocations: 109 kB / 1.353 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.6253, allocations: 3.906 kB / 1.353 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.034e-05/0.6253, allocations: 10.09 kB / 1.353 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.6253, allocations: 3.984 kB / 1.353 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.6253, allocations: 0 / 1.353 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.6253, allocations: 0 / 1.353 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.6256, allocations: 447.3 kB / 1.353 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6256, allocations: 0.8125 kB / 1.353 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.915e-05/0.6257, allocations: 4 kB / 1.353 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.6257, allocations: 3.938 kB / 1.353 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.6257, allocations: 0 / 1.353 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.6257, allocations: 0 / 1.353 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6257, allocations: 0.9375 kB / 1.353 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.754e-05/0.6258, allocations: 95.58 kB / 1.353 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.6258, allocations: 85.09 kB / 1.353 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.6258, allocations: 0 / 1.353 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.657e-05/0.6258, allocations: 0 / 1.353 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.6259, allocations: 3.906 kB / 1.353 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.6259, allocations: 4 kB / 1.353 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.841e-05/0.6259, allocations: 103.1 kB / 1.353 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001645/0.6261, allocations: 8 kB / 1.353 GB, free: 11.33 MB / 0.8542 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.939e-05/0.6262, allocations: 103.3 kB / 1.353 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.449e-05/0.6262, allocations: 12 kB / 1.353 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.6262, allocations: 0 / 1.353 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.868e-06/0.6263, allocations: 6.156 kB / 1.353 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.749e-05/0.6263, allocations: 15.84 kB / 1.353 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001962/0.6265, allocations: 103.2 kB / 1.354 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.6268, allocations: 0.7036 MB / 1.354 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of SimCode: time 2.2e-07/0.6268, allocations: 0 / 1.354 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of Templates: time 0.001697/0.6285, allocations: 335.8 kB / 1.355 GB, free: 10.03 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches