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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.492/1.492, allocations: 249.3 MB / 261.8 MB, free: 5.988 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.001095/0.001095, allocations: 172.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0009237/0.0009233, allocations: 94.39 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.478e-05/4.485e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1993, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6498/0.8491, allocations: 132.6 MB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.8494, allocations: 77.77 kB / 1.021 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008686/0.8581, allocations: 3.196 MB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.764e-06/0.8582, allocations: 0 / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.8582, allocations: 0 / 1.024 GB, free: 15.48 MB / 0.6511 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.000434/0.8586, allocations: 392.7 kB / 1.025 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.8587, allocations: 12.03 kB / 1.025 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007341/0.8594, allocations: 91.23 kB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.8596, allocations: 183.9 kB / 1.025 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.8596, allocations: 11.36 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.8596, allocations: 4 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.8598, allocations: 107.9 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.8599, allocations: 0 / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.8599, allocations: 3.812 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.8599, allocations: 4 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.86, allocations: 68.48 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.8611, allocations: 466.4 kB / 1.026 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.8612, allocations: 70.73 kB / 1.026 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.522e-05/0.8613, allocations: 31.8 kB / 1.026 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.8614, allocations: 0 / 1.026 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.8614, allocations: 34.55 kB / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.8614, allocations: 0 / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5): time 0.0002472/0.8616, allocations: 87.02 kB / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.8617, allocations: 59.34 kB / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.8618, allocations: 152 kB / 1.026 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.8619, allocations: 29.69 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.893e-05/0.8619, allocations: 98.55 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.862, allocations: 11.8 kB / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.862, allocations: 2.75 kB / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.8621, allocations: 318.3 kB / 1.027 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.124e-05/0.8622, allocations: 30.05 kB / 1.027 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.336e-05/0.8622, allocations: 30.61 kB / 1.027 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.28e-05/0.8623, allocations: 18.94 kB / 1.027 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.8623, allocations: 0 / 1.027 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001888/0.8625, allocations: 119 kB / 1.027 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.102e-05/0.8626, allocations: 92.94 kB / 1.027 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.8626, allocations: 0 / 1.027 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.8626, allocations: 4 kB / 1.027 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.8629, allocations: 51.19 kB / 1.027 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.8629, allocations: 0 / 1.027 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.8632, allocations: 35.88 kB / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.8632, allocations: 4 kB / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/0.8632, allocations: 4 kB / 1.027 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.439e-05/0.8633, allocations: 35.19 kB / 1.027 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.52e-07/0.8633, allocations: 0 / 1.027 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-06/0.8633, allocations: 3.953 kB / 1.027 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.538e-05/0.8634, allocations: 19.98 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-06/0.8634, allocations: 0 / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.744e-05/0.8635, allocations: 27.64 kB / 1.027 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.8635, allocations: 3.938 kB / 1.027 GB, free: 12.87 MB / 0.6511 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 7.746e-05/0.8636, allocations: 107.4 kB / 1.027 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.8636, allocations: 7.906 kB / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.807e-05/0.8637, allocations: 10.59 kB / 1.027 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.8637, allocations: 7.953 kB / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.8637, allocations: 0 / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.8637, allocations: 7.984 kB / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004642/0.8642, allocations: 391.4 kB / 1.028 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.8642, allocations: 4 kB / 1.028 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.8644, allocations: 43.97 kB / 1.028 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.8645, allocations: 0 / 1.028 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.8645, allocations: 7.984 kB / 1.028 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.8645, allocations: 320 / 1.028 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8645, allocations: 0 / 1.028 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.8648, allocations: 237.1 kB / 1.028 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.538e-05/0.8649, allocations: 92.8 kB / 1.028 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.8649, allocations: 7.922 kB / 1.028 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.8652, allocations: 27.97 kB / 1.028 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.8652, allocations: 7.984 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.8653, allocations: 7.938 kB / 1.028 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.136e-05/0.8654, allocations: 116.5 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8654, allocations: 0 / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002818/0.8656, allocations: 31.44 kB / 1.028 GB, free: 11.74 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.0001536/0.8658, allocations: 111.8 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.866, allocations: 86.27 kB / 1.028 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.866, allocations: 7.938 kB / 1.028 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.603e-05/0.8661, allocations: 30.92 kB / 1.028 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.8663, allocations: 15.77 kB / 1.028 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006444/0.8669, allocations: 176.4 kB / 1.029 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.8672, allocations: 0.7048 MB / 1.029 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001152/0.8673, allocations: 23.94 kB / 1.029 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.11e-05/0.8674, allocations: 23.09 kB / 1.029 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of SimCode: time 3.31e-07/0.8674, allocations: 0 / 1.029 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of Templates: time 0.003638/0.8711, allocations: 1.393 MB / 1.031 GB, free: 9.188 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