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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.002101/0.002101, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002837/0.002838, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 239.9 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.031/3.031, allocations: 482.4 MB / 0.7543 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 69.02 kB / 0.9233 GB, free: 29.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3544, allocations: 162.2 MB / 1.082 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002939/0.3574, allocations: 1.68 MB / 1.083 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006689/0.358, allocations: 339 kB / 1.084 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.976e-05/0.3581, allocations: 0 / 1.084 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.687e-05/0.3581, allocations: 11.94 kB / 1.084 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.78e-05/0.3582, allocations: 15.84 kB / 1.084 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.3585, allocations: 63.94 kB / 1.084 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.3587, allocations: 107.6 kB / 1.084 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.3588, allocations: 35.97 kB / 1.084 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.156e-05/0.3589, allocations: 43.78 kB / 1.084 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.983e-05/0.359, allocations: 51.77 kB / 1.084 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.3591, allocations: 8 kB / 1.084 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.744e-05/0.3591, allocations: 35.97 kB / 1.084 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.3592, allocations: 19.92 kB / 1.084 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.433e-05/0.3592, allocations: 39.8 kB / 1.084 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.3594, allocations: 111.9 kB / 1.084 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3594, allocations: 0 / 1.084 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3594, allocations: 0 / 1.084 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.3594, allocations: 4 kB / 1.084 GB, free: 11.04 MB / 0.8419 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.0006141/0.3601, allocations: 403.1 kB / 1.085 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3601, allocations: 15.95 kB / 1.085 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.3615, allocations: 160.6 kB / 1.085 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.3617, allocations: 184.2 kB / 1.085 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3617, allocations: 384 / 1.085 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.3618, allocations: 12.38 kB / 1.085 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006173/0.3624, allocations: 166.1 kB / 1.085 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.3624, allocations: 192 / 1.085 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.3624, allocations: 11.94 kB / 1.085 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3624, allocations: 0 / 1.085 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000906/0.3633, allocations: 191.7 kB / 1.085 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.3646, allocations: 476.3 kB / 1.086 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.3656, allocations: 186.4 kB / 1.086 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000345/0.366, allocations: 68.84 kB / 1.086 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.366, allocations: 0 / 1.086 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.366, allocations: 38.44 kB / 1.086 GB, free: 9 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.366, allocations: 0 / 1.086 GB, free: 9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.001131/0.3672, allocations: 221.3 kB / 1.086 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.3672, allocations: 51.41 kB / 1.086 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.3675, allocations: 195.7 kB / 1.087 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.3675, allocations: 25.7 kB / 1.087 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.3676, allocations: 107.9 kB / 1.087 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.3677, allocations: 7.891 kB / 1.087 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.001e-05/0.3677, allocations: 33.69 kB / 1.087 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3679, allocations: 318.8 kB / 1.087 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004312/0.3683, allocations: 84.77 kB / 1.087 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004494/0.3688, allocations: 110.4 kB / 1.087 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007525/0.3696, allocations: 158.4 kB / 1.087 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3696, allocations: 0 / 1.087 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009374/0.3705, allocations: 221.3 kB / 1.088 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3705, allocations: 9.094 kB / 1.088 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3705, allocations: 0 / 1.088 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.3706, allocations: 3.938 kB / 1.088 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.3709, allocations: 43.88 kB / 1.088 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3709, allocations: 8 kB / 1.088 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003731/0.3713, allocations: 39.89 kB / 1.088 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.3713, allocations: 7.984 kB / 1.088 GB, free: 7.305 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002209/0.3716, allocations: 120.1 kB / 1.088 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001831/0.3717, allocations: 77.97 kB / 1.088 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002641/0.372, allocations: 109.8 kB / 1.088 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.71e-07/0.372, allocations: 0 / 1.088 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.000416/0.3725, allocations: 141.5 kB / 1.088 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/0.3725, allocations: 4 kB / 1.088 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-06/0.3725, allocations: 7.938 kB / 1.088 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-06/0.3725, allocations: 0 / 1.088 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.3726, allocations: 27.92 kB / 1.088 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.3726, allocations: 7.922 kB / 1.088 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.3729, allocations: 24.02 kB / 1.088 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.3729, allocations: 7.984 kB / 1.088 GB, free: 6.734 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.373, allocations: 188.2 kB / 1.088 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.3731, allocations: 7.906 kB / 1.088 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.648e-05/0.3731, allocations: 16.31 kB / 1.088 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3731, allocations: 4 kB / 1.088 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/0.3732, allocations: 8.047 kB / 1.088 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3732, allocations: 0 / 1.088 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.3734, allocations: 209.6 kB / 1.089 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3734, allocations: 0 / 1.089 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.3736, allocations: 27.95 kB / 1.089 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3737, allocations: 0 / 1.089 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.3737, allocations: 11.92 kB / 1.089 GB, free: 6.211 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.3737, allocations: 4 kB / 1.089 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3737, allocations: 0 / 1.089 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007637/0.3745, allocations: 255.2 kB / 1.089 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.16e-05/0.3746, allocations: 105 kB / 1.089 GB, free: 5.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.3746, allocations: 3.938 kB / 1.089 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002999/0.3749, allocations: 23.97 kB / 1.089 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.3749, allocations: 0 / 1.089 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.375, allocations: 7.984 kB / 1.089 GB, free: 5.785 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001912/0.3752, allocations: 145.4 kB / 1.089 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3752, allocations: 0 / 1.089 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003404/0.3755, allocations: 40 kB / 1.089 GB, free: 5.605 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001284/0.3757, allocations: 95.25 kB / 1.089 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009993/0.3767, allocations: 207.7 kB / 1.089 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3767, allocations: 0.5625 kB / 1.089 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003347/0.377, allocations: 71.91 kB / 1.09 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.3773, allocations: 11.91 kB / 1.09 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008669/0.3782, allocations: 278.9 kB / 1.09 GB, free: 4.918 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.3786, allocations: 0.6924 MB / 1.09 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001852/0.3787, allocations: 27.98 kB / 1.09 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.098e-05/0.3789, allocations: 23.41 kB / 1.091 GB, free: 4.148 MB / 0.8419 GB Notification: Performance of SimCode: time 2e-07/0.3789, allocations: 0 / 1.091 GB, free: 4.148 MB / 0.8419 GB Notification: Performance of Templates: time 0.004473/0.3833, allocations: 1.627 MB / 1.092 GB, free: 2.531 MB / 0.8419 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=400 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches