Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff.m_flow|eff.V_flow|eff.dp|eff.y_in|eff.WFlo|eff.PEle|eff.eta|eff.etaHyd|eff.etaMot",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff.m_flow|eff.V_flow|eff.dp|eff.y_in|eff.WFlo|eff.PEle|eff.eta|eff.etaHyd|eff.etaMot",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") [: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.18/1.18, allocations: 249.4 MB / 256.7 MB, free: 6.953 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.001058/0.001058, allocations: 181.2 kB / 316 MB, free: 3.52 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.031/1.031, allocations: 205.2 MB / 0.5667 GB, free: 15.65 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.0008349/0.0008351, allocations: 85.16 kB / 0.671 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.472e-06/6.502e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1513, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4449/0.5962, allocations: 144 MB / 1.025 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.5964, allocations: 87.5 kB / 1.025 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.03065/0.6271, allocations: 10.75 MB / 1.036 GB, free: 1.867 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.564e-05/0.6271, allocations: 8 kB / 1.036 GB, free: 1.859 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008505/0.628, allocations: 0.5372 MB / 1.036 GB, free: 1.297 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.628, allocations: 8.031 kB / 1.036 GB, free: 1.289 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003257/0.6284, allocations: 51.58 kB / 1.036 GB, free: 1.238 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.6297, allocations: 0.6265 MB / 1.037 GB, free: 0.707 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.6297, allocations: 0 / 1.037 GB, free: 0.707 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.6297, allocations: 8 kB / 1.037 GB, free: 0.6992 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002355/0.63, allocations: 121.2 kB / 1.037 GB, free: 0.6133 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.6302, allocations: 121.2 kB / 1.037 GB, free: 0.5078 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.6302, allocations: 4 kB / 1.037 GB, free: 0.5039 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.6302, allocations: 7.906 kB / 1.037 GB, free: 0.4961 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.6302, allocations: 0 / 1.037 GB, free: 0.4961 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007304/0.631, allocations: 471.1 kB / 1.038 GB, free: 68 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.6312, allocations: 140.1 kB / 1.038 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.809e-05/0.6313, allocations: 65.45 kB / 1.038 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.6313, allocations: 3.984 kB / 1.038 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.6313, allocations: 34.56 kB / 1.038 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=8): time 2.544e-06/0.6314, allocations: 4 kB / 1.038 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0004679/0.6318, allocations: 194.7 kB / 1.038 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.6319, allocations: 51.41 kB / 1.038 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.6321, allocations: 268.9 kB / 1.038 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.6322, allocations: 25.7 kB / 1.038 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.6322, allocations: 118.4 kB / 1.039 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.6323, allocations: 27.19 kB / 1.039 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.312e-05/0.6323, allocations: 0 / 1.039 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.6324, allocations: 341.2 kB / 1.039 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-05/0.6325, allocations: 72.61 kB / 1.039 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.6326, allocations: 129 kB / 1.039 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.6329, allocations: 102.1 kB / 1.039 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6329, allocations: 0 / 1.039 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000488/0.6334, allocations: 251.3 kB / 1.039 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002179/0.6336, allocations: 0.7005 MB / 1.04 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.6336, allocations: 0 / 1.04 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.6337, allocations: 7.938 kB / 1.04 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.6339, allocations: 59.58 kB / 1.04 GB, free: 13.63 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.634, allocations: 4 kB / 1.04 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.6341, allocations: 23.83 kB / 1.04 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/0.6342, allocations: 15.98 kB / 1.04 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.249e-06/0.6342, allocations: 4 kB / 1.04 GB, free: 13.58 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003355/0.6345, allocations: 164.9 kB / 1.04 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.6346, allocations: 4 kB / 1.04 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-06/0.6346, allocations: 4 kB / 1.04 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.6348, allocations: 43.91 kB / 1.04 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.6348, allocations: 4.219 kB / 1.04 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.6349, allocations: 31.83 kB / 1.04 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.635, allocations: 14.98 kB / 1.04 GB, free: 13.36 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 1 * 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 7.575e-05/0.6351, allocations: 108.9 kB / 1.041 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.6351, allocations: 19.72 kB / 1.041 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/0.6355, allocations: 176.3 kB / 1.041 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.6355, allocations: 7.922 kB / 1.041 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.6355, allocations: 0 / 1.041 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.6355, allocations: 8 kB / 1.041 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.6357, allocations: 233.5 kB / 1.041 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6357, allocations: 0 / 1.041 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.6359, allocations: 31.34 kB / 1.041 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.6359, allocations: 4 kB / 1.041 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.6359, allocations: 0 / 1.041 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6359, allocations: 96 / 1.041 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.6359, allocations: 7.938 kB / 1.041 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002478/0.6362, allocations: 236 kB / 1.041 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.517e-05/0.6363, allocations: 108.4 kB / 1.041 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.6363, allocations: 0 / 1.041 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.6365, allocations: 11.98 kB / 1.041 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.6365, allocations: 11.56 kB / 1.041 GB, free: 12.42 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.6366, allocations: 11.89 kB / 1.041 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001576/0.6367, allocations: 208.2 kB / 1.042 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005545/0.6373, allocations: 165.7 kB / 1.042 GB, free: 12.09 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 0.0005539/0.6378, allocations: 396.5 kB / 1.042 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003896/0.6382, allocations: 252.8 kB / 1.042 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6383, allocations: 0 / 1.042 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 6.832e-05/0.6383, allocations: 46.05 kB / 1.042 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.6387, allocations: 89.97 kB / 1.042 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005418/0.6392, allocations: 320.5 kB / 1.043 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000395/0.6396, allocations: 0.8096 MB / 1.044 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of SimCode: time 2.6e-07/0.6397, allocations: 4 kB / 1.044 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of Templates: time 0.01129/0.651, allocations: 7.401 MB / 1.051 GB, free: 2.973 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches