Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.549/2.549, allocations: 436.5 MB / 0.7104 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003317, allocations: 8 kB / 0.8708 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6383/0.6386, allocations: 153.6 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.001752/0.6404, allocations: 1.317 MB / 1.022 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006199/0.6411, allocations: 320.1 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.659e-05/0.6411, allocations: 7.938 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.58e-05/0.6411, allocations: 3.938 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.348e-05/0.6412, allocations: 15.95 kB / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.6415, allocations: 63.91 kB / 1.022 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.6416, allocations: 67.84 kB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.6418, allocations: 27.98 kB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.583e-05/0.6419, allocations: 31.86 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.985e-05/0.6419, allocations: 35.78 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.642, allocations: 4 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.034e-05/0.6421, allocations: 35.91 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.6421, allocations: 11.92 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.6421, allocations: 41.64 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.6422, allocations: 73.77 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.6423, allocations: 4 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.325e-06/0.6423, allocations: 4 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.6423, allocations: 0 / 1.023 GB, free: 15.04 MB / 0.7794 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.0005428/0.6428, allocations: 391 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.6429, allocations: 11.98 kB / 1.023 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.6443, allocations: 179.7 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.6444, allocations: 171 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.6444, allocations: 4 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.6445, allocations: 19.89 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006458/0.6451, allocations: 191.4 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.6451, allocations: 0 / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.6451, allocations: 0 / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.6452, allocations: 0 / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009433/0.6461, allocations: 207.8 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.6473, allocations: 484.2 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.6484, allocations: 218.3 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.6485, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.6485, allocations: 30.66 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.6485, allocations: 7.938 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.001222/0.6497, allocations: 261.4 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.6498, allocations: 51.41 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.65, allocations: 188.6 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.6501, allocations: 25.7 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/0.6502, allocations: 111.9 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.6502, allocations: 11.91 kB / 1.025 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.6502, allocations: 0 / 1.025 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.133e-05/0.6503, allocations: 322.8 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004535/0.6508, allocations: 87.92 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004544/0.6512, allocations: 110.5 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004477/0.6517, allocations: 95.84 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6517, allocations: 4 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009959/0.6527, allocations: 241.3 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.6528, allocations: 279 kB / 1.026 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.6528, allocations: 0 / 1.026 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.6528, allocations: 0 / 1.026 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.6532, allocations: 55.94 kB / 1.026 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.6532, allocations: 0 / 1.026 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/0.6536, allocations: 51.91 kB / 1.026 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.6536, allocations: 11.92 kB / 1.026 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.246e-06/0.6536, allocations: 4 kB / 1.026 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003864/0.654, allocations: 103.9 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-06/0.6541, allocations: 0 / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-06/0.6541, allocations: 0 / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.6542, allocations: 35.97 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.6542, allocations: 0 / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.6544, allocations: 19.89 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.6544, allocations: 8 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * 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 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.0001163/0.6545, allocations: 189.1 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.6546, allocations: 15.86 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.042e-05/0.6546, allocations: 12.42 kB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.6547, allocations: 0 / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.6547, allocations: 7.922 kB / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.6547, allocations: 0 / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.6549, allocations: 209.6 kB / 1.027 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.6549, allocations: 0 / 1.027 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.6552, allocations: 35.95 kB / 1.027 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.6552, allocations: 3.953 kB / 1.027 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.6552, allocations: 7.984 kB / 1.027 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.6552, allocations: 0 / 1.027 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6552, allocations: 0 / 1.027 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008098/0.656, allocations: 279.2 kB / 1.027 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.743e-05/0.6561, allocations: 108.8 kB / 1.027 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.6562, allocations: 7.953 kB / 1.027 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/0.6565, allocations: 31.95 kB / 1.027 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.6565, allocations: 4 kB / 1.027 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.6565, allocations: 3.984 kB / 1.028 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001863/0.6567, allocations: 146.7 kB / 1.028 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6567, allocations: 0 / 1.028 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003492/0.6571, allocations: 32 kB / 1.028 GB, free: 9.719 MB / 0.7794 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001273/0.6572, allocations: 99.25 kB / 1.028 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.6583, allocations: 235.8 kB / 1.028 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6583, allocations: 4 kB / 1.028 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003644/0.6587, allocations: 76.17 kB / 1.028 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.6589, allocations: 6.062 kB / 1.028 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009046/0.6598, allocations: 282.9 kB / 1.028 GB, free: 9 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.6601, allocations: 0.7043 MB / 1.029 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001884/0.6603, allocations: 20 kB / 1.029 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.723e-05/0.6604, allocations: 23.41 kB / 1.029 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6604, allocations: 3.938 kB / 1.029 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of Templates: time 0.004175/0.6646, allocations: 1.499 MB / 1.031 GB, free: 6.73 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches