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.001/2.001, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001225/0.001225, allocations: 184.8 kB / 487.4 MB, free: 5.047 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.294/1.294, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009865/0.0009864, allocations: 107.8 kB / 0.9219 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.486e-05/1.515e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.231, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7873/1.018, allocations: 149.5 MB / 1.352 GB, free: 18.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/1.019, allocations: 77.48 kB / 1.352 GB, free: 18.48 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009277/1.028, allocations: 3.225 MB / 1.355 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.895e-06/1.028, allocations: 0.6562 kB / 1.355 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.254e-06/1.028, allocations: 0 / 1.355 GB, free: 33.99 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.0004017/1.028, allocations: 382.5 kB / 1.355 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/1.029, allocations: 11.56 kB / 1.356 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000738/1.029, allocations: 95.03 kB / 1.356 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.659e-05/1.029, allocations: 175.7 kB / 1.356 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/1.029, allocations: 3.844 kB / 1.356 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/1.029, allocations: 3.844 kB / 1.356 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001614/1.03, allocations: 64.03 kB / 1.356 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/1.03, allocations: 99.92 kB / 1.356 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/1.03, allocations: 0 / 1.356 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/1.03, allocations: 0.6094 kB / 1.356 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/1.03, allocations: 8.734 kB / 1.356 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008988/1.031, allocations: 424 kB / 1.356 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/1.031, allocations: 68.61 kB / 1.356 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.004e-05/1.031, allocations: 29.8 kB / 1.356 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/1.031, allocations: 4.391 kB / 1.356 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/1.031, allocations: 39.2 kB / 1.356 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/1.031, allocations: 0 / 1.356 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0002033/1.031, allocations: 92.09 kB / 1.357 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.797e-05/1.031, allocations: 55.95 kB / 1.357 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.339e-05/1.031, allocations: 117.1 kB / 1.357 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/1.031, allocations: 25.7 kB / 1.357 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/1.031, allocations: 106.5 kB / 1.357 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/1.031, allocations: 20.89 kB / 1.357 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-06/1.031, allocations: 0 / 1.357 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001096/1.032, allocations: 321.4 kB / 1.357 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.734e-05/1.032, allocations: 28.36 kB / 1.357 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.129e-05/1.032, allocations: 24.59 kB / 1.357 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.332e-05/1.032, allocations: 22.56 kB / 1.357 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/1.032, allocations: 0 / 1.357 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001383/1.032, allocations: 97.06 kB / 1.357 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.672e-05/1.032, allocations: 96.56 kB / 1.357 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.032, allocations: 4.75 kB / 1.357 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/1.032, allocations: 0 / 1.357 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/1.032, allocations: 40.91 kB / 1.357 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/1.032, allocations: 0 / 1.357 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/1.032, allocations: 35.47 kB / 1.358 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/1.032, allocations: 2.203 kB / 1.358 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.65e-06/1.032, allocations: 3.875 kB / 1.358 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 5.957e-05/1.033, allocations: 35.78 kB / 1.358 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/1.033, allocations: 0.7031 kB / 1.358 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-06/1.033, allocations: 0 / 1.358 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.372e-05/1.033, allocations: 27.11 kB / 1.358 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/1.033, allocations: 3.953 kB / 1.358 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.359e-05/1.033, allocations: 14.02 kB / 1.358 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-06/1.033, allocations: 0 / 1.358 GB, free: 32.22 MB / 0.8386 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.682e-05/1.033, allocations: 106.5 kB / 1.358 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/1.033, allocations: 8.375 kB / 1.358 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/1.033, allocations: 13.38 kB / 1.358 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/1.033, allocations: 0 / 1.358 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.033, allocations: 7.828 kB / 1.358 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.033, allocations: 0.7969 kB / 1.358 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/1.033, allocations: 361 kB / 1.358 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.033, allocations: 0.5156 kB / 1.358 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/1.034, allocations: 40.17 kB / 1.358 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/1.034, allocations: 4.531 kB / 1.358 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/1.034, allocations: 2.109 kB / 1.358 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/1.034, allocations: 8.625 kB / 1.358 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.034, allocations: 3.938 kB / 1.358 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/1.034, allocations: 218.8 kB / 1.358 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/1.034, allocations: 98.27 kB / 1.358 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/1.034, allocations: 8.594 kB / 1.358 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/1.034, allocations: 31.31 kB / 1.358 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/1.034, allocations: 9.312 kB / 1.358 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/1.034, allocations: 1.875 kB / 1.358 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.401e-05/1.034, allocations: 96.39 kB / 1.359 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.034, allocations: 0 / 1.359 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002746/1.035, allocations: 34.81 kB / 1.359 GB, free: 31.42 MB / 0.8386 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.0001098/1.035, allocations: 111.8 kB / 1.359 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001712/1.035, allocations: 82.25 kB / 1.359 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/1.035, allocations: 0 / 1.359 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.797e-05/1.035, allocations: 30.69 kB / 1.359 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/1.035, allocations: 12.69 kB / 1.359 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005948/1.036, allocations: 167.9 kB / 1.359 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/1.036, allocations: 0.7035 MB / 1.36 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001007/1.036, allocations: 14.33 kB / 1.36 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.455e-05/1.036, allocations: 18.12 kB / 1.36 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.036, allocations: 0 / 1.36 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of Templates: time 0.002867/1.039, allocations: 1.207 MB / 1.361 GB, free: 30.4 MB / 0.8386 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