Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.PowerInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powCoo.Q_flow|powCoo.WHyd|powNonCoo.Q_flow|powNonCoo.WHyd",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powCoo.Q_flow|powCoo.WHyd|powNonCoo.Q_flow|powNonCoo.WHyd",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") [: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.204/1.204, allocations: 249.4 MB / 256.7 MB, free: 6.996 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.0009756/0.0009756, allocations: 181.2 kB / 316 MB, free: 3.531 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.074/1.074, allocations: 205.2 MB / 0.5667 GB, free: 15.75 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.0008938/0.0008938, allocations: 86.59 kB / 0.671 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.701e-06/5.721e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.139, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3998/0.5388, allocations: 132.9 MB / 1.014 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001583/0.539, allocations: 84.31 kB / 1.014 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.00798/0.5469, allocations: 2.86 MB / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.547, allocations: 0 / 1.017 GB, free: 3.457 MB / 0.6355 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.000408/0.5474, allocations: 394.4 kB / 1.018 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.5474, allocations: 8.031 kB / 1.018 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007811/0.5482, allocations: 111 kB / 1.018 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.5483, allocations: 176.7 kB / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.5484, allocations: 0 / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.5484, allocations: 8 kB / 1.018 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001459/0.5485, allocations: 59.36 kB / 1.018 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.5487, allocations: 113.3 kB / 1.018 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.5487, allocations: 0 / 1.018 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.5487, allocations: 0 / 1.018 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.5487, allocations: 0 / 1.018 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009326/0.5497, allocations: 429.7 kB / 1.018 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.5498, allocations: 67.12 kB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.365e-05/0.5499, allocations: 31.09 kB / 1.019 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.5499, allocations: 0 / 1.019 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.5499, allocations: 38.5 kB / 1.019 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.5499, allocations: 0 / 1.019 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0002111/0.5501, allocations: 86.38 kB / 1.019 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.186e-05/0.5502, allocations: 55.41 kB / 1.019 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.581e-05/0.5503, allocations: 117.3 kB / 1.019 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.5503, allocations: 25.7 kB / 1.019 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/0.5503, allocations: 103.1 kB / 1.019 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.5504, allocations: 23.16 kB / 1.019 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-06/0.5504, allocations: 0 / 1.019 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.14e-05/0.5505, allocations: 318.1 kB / 1.019 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5e-05/0.5505, allocations: 26.12 kB / 1.019 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.703e-05/0.5506, allocations: 30.67 kB / 1.019 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.436e-05/0.5506, allocations: 19.59 kB / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.5506, allocations: 3.984 kB / 1.019 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001589/0.5508, allocations: 105 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.062e-05/0.5508, allocations: 89 kB / 1.02 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.5509, allocations: 0 / 1.02 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.5509, allocations: 3.984 kB / 1.02 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.5512, allocations: 55.64 kB / 1.02 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.5512, allocations: 0 / 1.02 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.5515, allocations: 35.88 kB / 1.02 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.5515, allocations: 3.984 kB / 1.02 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.1e-06/0.5515, allocations: 4 kB / 1.02 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 6.566e-05/0.5516, allocations: 30.38 kB / 1.02 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.82e-07/0.5516, allocations: 0 / 1.02 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-06/0.5516, allocations: 0 / 1.02 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.785e-05/0.5517, allocations: 27.8 kB / 1.02 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-06/0.5517, allocations: 0 / 1.02 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.001e-05/0.5518, allocations: 15.98 kB / 1.02 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.5518, allocations: 0 / 1.02 GB, free: 0.9141 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * 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 6.026e-05/0.5518, allocations: 104.9 kB / 1.02 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.5519, allocations: 7.906 kB / 1.02 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.101e-05/0.5519, allocations: 11.5 kB / 1.02 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.5519, allocations: 4 kB / 1.02 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5519, allocations: 7.984 kB / 1.02 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.552, allocations: 4 kB / 1.02 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003751/0.5523, allocations: 367 kB / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5523, allocations: 0 / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.5526, allocations: 44.02 kB / 1.02 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5526, allocations: 0 / 1.02 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.5527, allocations: 7.984 kB / 1.02 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5527, allocations: 0 / 1.02 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.5527, allocations: 7.844 kB / 1.02 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001903/0.5529, allocations: 220.3 kB / 1.02 GB, free: 116 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.5529, allocations: 92 kB / 1.021 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.553, allocations: 4 kB / 1.021 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.5533, allocations: 32.06 kB / 1.021 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.5533, allocations: 7.734 kB / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.5533, allocations: 7.984 kB / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.411e-05/0.5534, allocations: 97.72 kB / 1.021 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002812/0.5537, allocations: 35.84 kB / 1.021 GB, free: 15.83 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001001/0.5538, allocations: 99.19 kB / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001754/0.554, allocations: 87.52 kB / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.554, allocations: 0 / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.61e-05/0.554, allocations: 39.03 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.5542, allocations: 7.781 kB / 1.021 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007018/0.5549, allocations: 186.4 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/0.5552, allocations: 0.7228 MB / 1.022 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of SimCode: time 5.81e-07/0.5552, allocations: 3.938 kB / 1.022 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of Templates: time 0.003078/0.5583, allocations: 1.454 MB / 1.023 GB, free: 13.24 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches