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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001117/0.001117, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001237/0.001237, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.467/1.467, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.75/2.75, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002529/0.002529, allocations: 61.97 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3402, allocations: 157.4 MB / 1.052 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002745/0.343, allocations: 1.685 MB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007053/0.3437, allocations: 335.1 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.057e-05/0.3438, allocations: 0 / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.282e-05/0.3438, allocations: 7.922 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.742e-05/0.3439, allocations: 15.86 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.3442, allocations: 79.8 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.3443, allocations: 103.6 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.3445, allocations: 23.98 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.871e-05/0.3446, allocations: 39.84 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.4e-05/0.3447, allocations: 43.78 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.3447, allocations: 8 kB / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.57e-05/0.3448, allocations: 35.91 kB / 1.054 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.756e-05/0.3448, allocations: 23.91 kB / 1.054 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.982e-05/0.3449, allocations: 35.8 kB / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.3451, allocations: 107.9 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3451, allocations: 0 / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3451, allocations: 0 / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.3451, allocations: 0 / 1.055 GB, free: 6.27 MB / 0.8106 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.0006352/0.3457, allocations: 407.2 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3458, allocations: 8.031 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.3474, allocations: 164.5 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.3475, allocations: 180.2 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.3476, allocations: 8.375 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.3476, allocations: 8.375 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006909/0.3483, allocations: 175.3 kB / 1.055 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3483, allocations: 4.172 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.3483, allocations: 7.938 kB / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3483, allocations: 0 / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009727/0.3493, allocations: 187.8 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.3507, allocations: 472.3 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.3519, allocations: 190.3 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000378/0.3522, allocations: 64.84 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.3523, allocations: 0 / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.3523, allocations: 34.56 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3523, allocations: 0 / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.001267/0.3536, allocations: 229.2 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.3536, allocations: 51.41 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.3539, allocations: 195.5 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3539, allocations: 29.7 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.354, allocations: 99.95 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.3541, allocations: 19.78 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.408e-05/0.3541, allocations: 29.69 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3543, allocations: 318.8 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005414/0.3548, allocations: 84.77 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004847/0.3553, allocations: 102.5 kB / 1.057 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008252/0.3562, allocations: 162.4 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3562, allocations: 0 / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001052/0.3572, allocations: 213.3 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.3573, allocations: 4 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.3573, allocations: 8.125 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.3573, allocations: 7.938 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/0.3577, allocations: 43.94 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.3577, allocations: 4 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004255/0.3581, allocations: 47.73 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.3582, allocations: 7.984 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002322/0.3584, allocations: 120.1 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001926/0.3586, allocations: 81.91 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003029/0.3589, allocations: 97.91 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.372e-06/0.3589, allocations: 4 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004265/0.3594, allocations: 137.6 kB / 1.058 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.3594, allocations: 8 kB / 1.058 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.3594, allocations: 7.938 kB / 1.058 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-06/0.3594, allocations: 0 / 1.058 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.3596, allocations: 31.84 kB / 1.058 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.3596, allocations: 4 kB / 1.058 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.3598, allocations: 23.97 kB / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.3598, allocations: 8 kB / 1.058 GB, free: 1.965 MB / 0.8106 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.0001112/0.36, allocations: 188.9 kB / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.36, allocations: 7.906 kB / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.258e-05/0.3601, allocations: 16.19 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.3601, allocations: 0 / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.3601, allocations: 0 / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3601, allocations: 7.922 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.3603, allocations: 209.5 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3603, allocations: 0 / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.3606, allocations: 35.94 kB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3606, allocations: 0 / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.3606, allocations: 3.938 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3606, allocations: 320 / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3606, allocations: 0 / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008021/0.3614, allocations: 259.5 kB / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.086e-05/0.3615, allocations: 101 kB / 1.059 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.3616, allocations: 3.938 kB / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/0.3619, allocations: 27.97 kB / 1.059 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.3619, allocations: 7.984 kB / 1.059 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.362, allocations: 0 / 1.059 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002114/0.3622, allocations: 146.3 kB / 1.059 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.964e-06/0.3622, allocations: 4 kB / 1.059 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004203/0.3626, allocations: 39.94 kB / 1.059 GB, free: 0.8359 MB / 0.8106 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.0001391/0.3628, allocations: 99.23 kB / 1.06 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.3638, allocations: 203.7 kB / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3638, allocations: 0 / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003615/0.3642, allocations: 76.41 kB / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.3646, allocations: 7.938 kB / 1.06 GB, free: 460 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009338/0.3655, allocations: 276.7 kB / 1.06 GB, free: 156 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.3658, allocations: 0.6926 MB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000287/0.3661, allocations: 23.98 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/0.3662, allocations: 27.41 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of SimCode: time 4.1e-07/0.3662, allocations: 0 / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of Templates: time 0.003991/0.3702, allocations: 1.561 MB / 1.062 GB, free: 13.83 MB / 0.8262 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","/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