Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001137/0.001136, 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.001284/0.001284, allocations: 192.5 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.487/1.487, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.743/2.743, allocations: 437 MB / 0.71 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 67.89 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7284/0.7307, allocations: 151.6 MB / 1.017 GB, free: 2.887 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002988/0.7337, allocations: 1.683 MB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006987/0.7344, allocations: 340 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.188e-05/0.7345, allocations: 3.938 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.145e-05/0.7345, allocations: 3.984 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.421e-05/0.7346, allocations: 11.88 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.735, allocations: 67.8 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.7351, allocations: 111.6 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.7353, allocations: 35.97 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.008e-05/0.7354, allocations: 39.86 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.187e-05/0.7355, allocations: 43.83 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.7355, allocations: 11.94 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.301e-05/0.7356, allocations: 35.97 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.7356, allocations: 11.98 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.615e-05/0.7357, allocations: 51.73 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.7358, allocations: 109.7 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.7359, allocations: 4 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7359, allocations: 3.938 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.7359, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 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.0006046/0.7365, allocations: 403.1 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.7365, allocations: 8.031 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.738, allocations: 168.6 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.7381, allocations: 172.2 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.7381, allocations: 4.375 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.7382, allocations: 8.375 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006657/0.7388, allocations: 179.5 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.7389, allocations: 4.125 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.7389, allocations: 3.938 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.7389, allocations: 4 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009025/0.7398, allocations: 179.8 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.741, allocations: 484.2 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.7421, allocations: 186.4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003572/0.7425, allocations: 72.84 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.7425, allocations: 4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.7426, allocations: 30.56 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.7426, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.001169/0.7437, allocations: 229.2 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.7438, allocations: 55.41 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.744, allocations: 195.6 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.7441, allocations: 25.7 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.7441, allocations: 107.9 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.7442, allocations: 15.81 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.282e-05/0.7442, allocations: 29.69 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.7444, allocations: 322.8 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004556/0.7448, allocations: 84.78 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.7453, allocations: 102.5 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007714/0.7461, allocations: 162.4 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7461, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000985/0.7471, allocations: 221.3 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.7471, allocations: 4 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.7471, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.7471, allocations: 7.938 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.7475, allocations: 47.94 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.7475, allocations: 0 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/0.7479, allocations: 43.8 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.7479, allocations: 8.141 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002161/0.7481, allocations: 120.8 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001801/0.7483, allocations: 85.89 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002525/0.7486, allocations: 101.9 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.153e-06/0.7486, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004227/0.749, allocations: 145.3 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.785e-06/0.749, allocations: 4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-06/0.749, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.517e-06/0.749, allocations: 4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.7492, allocations: 27.91 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.7492, allocations: 8.219 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.7495, allocations: 19.97 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.7495, allocations: 8 kB / 1.023 GB, free: 12.01 MB / 0.7794 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 9.564e-05/0.7496, allocations: 180.7 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.7496, allocations: 7.906 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.565e-05/0.7497, allocations: 20.19 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.7497, allocations: 0 / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.7497, allocations: 3.984 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.7497, allocations: 4 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.7499, allocations: 205.5 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7499, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.7502, allocations: 35.94 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.7502, allocations: 4 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.7502, allocations: 7.938 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.7502, allocations: 4.062 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.7502, allocations: 0 / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008041/0.751, allocations: 263.2 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.598e-05/0.7511, allocations: 96.98 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.7512, allocations: 3.938 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.7515, allocations: 23.91 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.7515, allocations: 11.98 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.7515, allocations: 4 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001786/0.7517, allocations: 142.5 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7517, allocations: 0 / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000351/0.7521, allocations: 36 kB / 1.024 GB, free: 10.88 MB / 0.7794 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.0001234/0.7522, allocations: 103.2 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.7533, allocations: 216.3 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7533, allocations: 0 / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004134/0.7537, allocations: 63.92 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.7542, allocations: 15.62 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.7553, allocations: 271 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.7556, allocations: 0.7041 MB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003858/0.756, allocations: 20 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.7561, allocations: 23.41 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.7561, allocations: 0 / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of Templates: time 0.004687/0.7608, allocations: 1.61 MB / 1.027 GB, free: 7.812 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches