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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.323/2.323, allocations: 390.5 MB / 398 MB, free: 10.96 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.001302/0.001303, allocations: 172.9 kB / 491.2 MB, free: 1.605 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.895/1.895, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.0009821/0.0009825, allocations: 91.72 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.404e-05/2.407e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4096, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.122/1.531, allocations: 150.4 MB / 1.359 GB, free: 17.57 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/1.532, allocations: 79.31 kB / 1.359 GB, free: 17.57 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009039/1.541, allocations: 3.372 MB / 1.363 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.683e-06/1.541, allocations: 3.938 kB / 1.363 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.095e-06/1.541, allocations: 0 / 1.363 GB, free: 33.07 MB / 0.8386 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.0004347/1.541, allocations: 384.6 kB / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.541, allocations: 15.56 kB / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/1.542, allocations: 130.1 kB / 1.363 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/1.543, allocations: 189 kB / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/1.543, allocations: 3.812 kB / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/1.543, allocations: 3.906 kB / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001968/1.543, allocations: 75.16 kB / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/1.543, allocations: 109.2 kB / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/1.543, allocations: 3.844 kB / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/1.543, allocations: 1.453 kB / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/1.543, allocations: 0 / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/1.544, allocations: 453.6 kB / 1.364 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/1.545, allocations: 89.5 kB / 1.364 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.526e-05/1.545, allocations: 24.98 kB / 1.364 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/1.545, allocations: 3.828 kB / 1.364 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/1.545, allocations: 32.16 kB / 1.364 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/1.545, allocations: 0 / 1.364 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002494/1.545, allocations: 73.88 kB / 1.364 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/1.545, allocations: 53.38 kB / 1.364 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/1.545, allocations: 137.4 kB / 1.364 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/1.545, allocations: 25.7 kB / 1.364 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.741e-05/1.545, allocations: 122.6 kB / 1.364 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/1.545, allocations: 13.31 kB / 1.364 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.425e-05/1.546, allocations: 0 / 1.364 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001634/1.546, allocations: 319.8 kB / 1.365 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.085e-05/1.546, allocations: 28.09 kB / 1.365 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.73e-05/1.546, allocations: 53.86 kB / 1.365 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.552e-05/1.546, allocations: 25.94 kB / 1.365 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/1.546, allocations: 3.844 kB / 1.365 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001892/1.546, allocations: 108.9 kB / 1.365 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001614/1.546, allocations: 274.9 kB / 1.365 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/1.546, allocations: 0 / 1.365 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/1.546, allocations: 4.609 kB / 1.365 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/1.547, allocations: 54.48 kB / 1.365 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/1.547, allocations: 7.844 kB / 1.365 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/1.547, allocations: 40.16 kB / 1.365 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/1.547, allocations: 7.125 kB / 1.365 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/1.547, allocations: 5.375 kB / 1.365 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001005/1.547, allocations: 44.64 kB / 1.365 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-06/1.547, allocations: 3.938 kB / 1.365 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-06/1.547, allocations: 3.75 kB / 1.365 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/1.547, allocations: 21.72 kB / 1.365 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/1.547, allocations: 3.844 kB / 1.365 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/1.548, allocations: 22.12 kB / 1.365 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/1.548, allocations: 0 / 1.365 GB, free: 31.07 MB / 0.8386 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 () * 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.0001239/1.548, allocations: 112.8 kB / 1.365 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/1.548, allocations: 7.625 kB / 1.365 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.295e-05/1.548, allocations: 13.08 kB / 1.366 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/1.548, allocations: 0 / 1.366 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.548, allocations: 3.906 kB / 1.366 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.548, allocations: 1.406 kB / 1.366 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/1.548, allocations: 181.7 kB / 1.366 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.548, allocations: 3.844 kB / 1.366 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/1.548, allocations: 35.91 kB / 1.366 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/1.548, allocations: 1.312 kB / 1.366 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/1.548, allocations: 5.344 kB / 1.366 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/1.548, allocations: 0 / 1.366 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.548, allocations: 1.875 kB / 1.366 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/1.549, allocations: 174.6 kB / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/1.549, allocations: 101.5 kB / 1.366 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/1.549, allocations: 0 / 1.366 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/1.549, allocations: 32.94 kB / 1.366 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/1.549, allocations: 2.719 kB / 1.366 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/1.549, allocations: 5.25 kB / 1.366 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.561e-05/1.549, allocations: 119.2 kB / 1.366 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.549, allocations: 0 / 1.366 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003295/1.549, allocations: 44.38 kB / 1.366 GB, free: 30.45 MB / 0.8386 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 (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.000162/1.55, allocations: 102.2 kB / 1.366 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002165/1.55, allocations: 83.33 kB / 1.366 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/1.55, allocations: 0 / 1.366 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.175e-05/1.55, allocations: 29.33 kB / 1.366 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/1.55, allocations: 4.188 kB / 1.366 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005281/1.551, allocations: 143.9 kB / 1.367 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/1.551, allocations: 0.6997 MB / 1.367 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001919/1.551, allocations: 34.36 kB / 1.367 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.935e-05/1.551, allocations: 21.45 kB / 1.367 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.551, allocations: 0 / 1.367 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of Templates: time 0.003591/1.555, allocations: 1.431 MB / 1.369 GB, free: 29.44 MB / 0.8386 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