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.001126/0.001126, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.403/1.403, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.581/2.581, allocations: 437 MB / 0.7103 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.89 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7238/0.7252, allocations: 151.6 MB / 1.017 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003585/0.7288, allocations: 1.628 MB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007978/0.7297, allocations: 337.6 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.276e-05/0.7298, allocations: 4 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 7.262e-05/0.7298, allocations: 7.875 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.379e-05/0.73, allocations: 15.8 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.7303, allocations: 83.78 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.7304, allocations: 103.6 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.7306, allocations: 35.97 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.936e-05/0.7307, allocations: 39.86 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.511e-05/0.7308, allocations: 47.77 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.7308, allocations: 8 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.69e-05/0.7309, allocations: 35.97 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.297e-05/0.731, allocations: 15.98 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.407e-05/0.731, allocations: 43.73 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.7312, allocations: 113.6 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7312, allocations: 4 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7312, allocations: 0 / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.7312, allocations: 3.984 kB / 1.02 GB, free: 12 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.0005683/0.7318, allocations: 404.8 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.7318, allocations: 8.031 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.7333, allocations: 172.5 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.7334, allocations: 176.2 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.7334, allocations: 4.375 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.7335, allocations: 8.375 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006882/0.7342, allocations: 178 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.7342, allocations: 192 / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.7342, allocations: 3.938 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.7342, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009342/0.7352, allocations: 183.8 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.7364, allocations: 480.2 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.7376, allocations: 190.4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/0.7379, allocations: 68.84 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.738, allocations: 3.938 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.738, allocations: 34.56 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 2.435e-06/0.738, allocations: 0 / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.001181/0.7392, allocations: 225.2 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.7393, allocations: 59.41 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.7395, allocations: 187.5 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.7396, allocations: 29.7 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.192e-05/0.7396, allocations: 103.9 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.7397, allocations: 19.8 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.984e-05/0.7398, allocations: 25.69 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.7399, allocations: 322.8 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004745/0.7404, allocations: 92.77 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004789/0.7409, allocations: 102.4 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007876/0.7417, allocations: 158.4 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7417, allocations: 0 / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001063/0.7427, allocations: 217.4 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.7428, allocations: 8 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.7428, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.7428, allocations: 3.938 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/0.7431, allocations: 51.88 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.7432, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/0.7436, allocations: 43.8 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.7436, allocations: 11.98 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002309/0.7438, allocations: 119.6 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001969/0.744, allocations: 81.97 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002668/0.7443, allocations: 101.8 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.516e-06/0.7443, allocations: 4 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004395/0.7448, allocations: 137.4 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.7448, allocations: 9.094 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/0.7448, allocations: 0 / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.107e-06/0.7448, allocations: 7.938 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.745, allocations: 27.91 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.745, allocations: 8.156 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.7452, allocations: 15.98 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.7452, allocations: 7.984 kB / 1.024 GB, free: 11.7 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 0.0001005/0.7454, allocations: 184.3 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/0.7454, allocations: 7.906 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.995e-05/0.7455, allocations: 20.19 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.7455, allocations: 0 / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.7455, allocations: 3.938 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.7455, allocations: 0 / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.7457, allocations: 209.6 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.7457, allocations: 0 / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.746, allocations: 36 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.746, allocations: 4 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.746, allocations: 7.938 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.746, allocations: 0 / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.746, allocations: 0 / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008077/0.7468, allocations: 263.1 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.249e-05/0.7469, allocations: 101 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.747, allocations: 3.938 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.7473, allocations: 23.97 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.7473, allocations: 7.984 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.7473, allocations: 4 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001902/0.7475, allocations: 139.2 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7476, allocations: 4 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003664/0.7479, allocations: 36 kB / 1.025 GB, free: 10.57 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.0001432/0.7481, allocations: 103.2 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001114/0.7492, allocations: 212.3 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7492, allocations: 4 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.7496, allocations: 67.89 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.7499, allocations: 12.12 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009004/0.7509, allocations: 239 kB / 1.025 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.7511, allocations: 0.6963 MB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000179/0.7513, allocations: 27.98 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.862e-05/0.7514, allocations: 19.41 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.7514, allocations: 0 / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of Templates: time 0.004276/0.7557, allocations: 1.68 MB / 1.028 GB, free: 7.469 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