Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.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_9_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_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.319/2.319, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001237/0.001237, allocations: 183.3 kB / 498.1 MB, free: 5.738 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.702/1.702, allocations: 223.2 MB / 0.7948 GB, free: 17.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009725/0.0009726, allocations: 98.23 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003673, allocations: 6.938 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3292, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1924/0.5216, allocations: 150.2 MB / 1.37 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.5219, allocations: 79.95 kB / 1.37 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009303/0.5312, allocations: 3.243 MB / 1.373 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5312, allocations: 0 / 1.373 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.5313, allocations: 0 / 1.373 GB, free: 8.59 MB / 0.8698 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.0005485/0.5318, allocations: 387.9 kB / 1.373 GB, free: 8.164 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.5319, allocations: 8.031 kB / 1.373 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008745/0.5328, allocations: 99.7 kB / 1.373 GB, free: 8.059 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.5329, allocations: 179.1 kB / 1.373 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.533, allocations: 4 kB / 1.373 GB, free: 7.84 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.533, allocations: 12 kB / 1.373 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005745/0.5336, allocations: 162.2 kB / 1.374 GB, free: 7.664 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.5336, allocations: 0 / 1.374 GB, free: 7.664 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.5336, allocations: 4 kB / 1.374 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.5336, allocations: 4 kB / 1.374 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007926/0.5344, allocations: 175.8 kB / 1.374 GB, free: 7.484 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.5357, allocations: 460.3 kB / 1.374 GB, free: 6.984 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007615/0.5365, allocations: 166.3 kB / 1.374 GB, free: 6.812 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.5365, allocations: 0 / 1.374 GB, free: 6.812 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.5366, allocations: 34.56 kB / 1.374 GB, free: 6.77 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.5366, allocations: 0 / 1.374 GB, free: 6.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5): time 0.001302/0.5379, allocations: 277.6 kB / 1.375 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.5379, allocations: 63.34 kB / 1.375 GB, free: 6.418 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.5381, allocations: 142.2 kB / 1.375 GB, free: 6.273 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.5381, allocations: 33.64 kB / 1.375 GB, free: 6.234 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.445e-05/0.5382, allocations: 99.98 kB / 1.375 GB, free: 6.133 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.5382, allocations: 15.8 kB / 1.375 GB, free: 6.117 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/0.5382, allocations: 4 kB / 1.375 GB, free: 6.113 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.5384, allocations: 314.8 kB / 1.375 GB, free: 5.797 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/0.5388, allocations: 83.92 kB / 1.375 GB, free: 5.715 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.5392, allocations: 75.92 kB / 1.375 GB, free: 5.641 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.5396, allocations: 79.94 kB / 1.376 GB, free: 5.562 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.5396, allocations: 3.953 kB / 1.376 GB, free: 5.559 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008494/0.5405, allocations: 213.4 kB / 1.376 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.999e-05/0.5405, allocations: 93.23 kB / 1.376 GB, free: 5.246 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5405, allocations: 0 / 1.376 GB, free: 5.246 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.5406, allocations: 0 / 1.376 GB, free: 5.246 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/0.5409, allocations: 55.88 kB / 1.376 GB, free: 5.191 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.5409, allocations: 3.984 kB / 1.376 GB, free: 5.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.5412, allocations: 35.81 kB / 1.376 GB, free: 5.152 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.5412, allocations: 4 kB / 1.376 GB, free: 5.148 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.5412, allocations: 5.25 kB / 1.376 GB, free: 5.145 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002171/0.5414, allocations: 67.95 kB / 1.376 GB, free: 5.078 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.5415, allocations: 3.953 kB / 1.376 GB, free: 5.074 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-06/0.5415, allocations: 0 / 1.376 GB, free: 5.074 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.462e-05/0.5416, allocations: 23.98 kB / 1.376 GB, free: 5.051 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-06/0.5416, allocations: 0 / 1.376 GB, free: 5.051 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.992e-05/0.5416, allocations: 15.98 kB / 1.376 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.5416, allocations: 0 / 1.376 GB, free: 5.035 MB / 0.8698 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 () * Number of clocked 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 0.0001274/0.5418, allocations: 193.8 kB / 1.376 GB, free: 4.836 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.5418, allocations: 11.81 kB / 1.376 GB, free: 4.824 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.594e-05/0.5419, allocations: 24.25 kB / 1.376 GB, free: 4.797 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.5419, allocations: 0 / 1.376 GB, free: 4.797 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.5419, allocations: 0 / 1.376 GB, free: 4.797 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.5419, allocations: 3.984 kB / 1.376 GB, free: 4.793 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.5431, allocations: 0.4921 MB / 1.377 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5431, allocations: 3.938 kB / 1.377 GB, free: 4.234 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.5434, allocations: 44.27 kB / 1.377 GB, free: 4.191 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.5434, allocations: 4 kB / 1.377 GB, free: 4.188 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.5434, allocations: 11.92 kB / 1.377 GB, free: 4.176 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.5434, allocations: 0 / 1.377 GB, free: 4.176 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5434, allocations: 4 kB / 1.377 GB, free: 4.172 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008686/0.5443, allocations: 336.4 kB / 1.377 GB, free: 3.809 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.544e-05/0.5444, allocations: 96.98 kB / 1.377 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.5444, allocations: 0 / 1.377 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.5447, allocations: 31.97 kB / 1.377 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.5448, allocations: 7.984 kB / 1.377 GB, free: 3.656 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.5448, allocations: 4 kB / 1.377 GB, free: 3.652 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.625e-05/0.5449, allocations: 119.1 kB / 1.377 GB, free: 3.539 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5449, allocations: 0 / 1.377 GB, free: 3.539 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003096/0.5452, allocations: 28 kB / 1.377 GB, free: 3.512 MB / 0.8698 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 () * Number of clocked 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.0001738/0.5454, allocations: 123 kB / 1.378 GB, free: 3.383 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000914/0.5463, allocations: 211.7 kB / 1.378 GB, free: 3.176 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5463, allocations: 0 / 1.378 GB, free: 3.176 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004114/0.5468, allocations: 91.97 kB / 1.378 GB, free: 3.086 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.547, allocations: 8 kB / 1.378 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.5482, allocations: 324.6 kB / 1.378 GB, free: 2.723 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.5485, allocations: 0.6965 MB / 1.379 GB, free: 2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.5486, allocations: 15.98 kB / 1.379 GB, free: 1.984 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.049e-05/0.5487, allocations: 23.41 kB / 1.379 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of SimCode: time 1.973e-06/0.5487, allocations: 0 / 1.379 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of Templates: time 0.003964/0.5527, allocations: 1.285 MB / 1.38 GB, free: 0.6836 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches