Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum_dp.dpMachine|pum_m_flow.dpMachine|pum_no.dpMachine",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum_dp.dpMachine|pum_m_flow.dpMachine|pum_no.dpMachine",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001335/0.001335, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.339/1.339, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 390.2 MB / 0.665 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 67.27 kB / 0.8127 GB, free: 32.52 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2849, allocations: 140.4 MB / 0.9498 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1006/0.3855, allocations: 101.7 MB / 1.049 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.05728/0.4428, allocations: 32.2 MB / 1.081 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009888/0.4528, allocations: 143.1 kB / 1.081 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.008044/0.4609, allocations: 1.718 MB / 1.082 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.7714/1.232, allocations: 4.576 MB / 1.087 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.01162/1.244, allocations: 3.513 MB / 1.09 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.02102/1.265, allocations: 9.497 MB / 1.099 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009371/1.274, allocations: 3.52 MB / 1.103 GB, free: 24.72 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01361/1.288, allocations: 3.982 MB / 1.107 GB, free: 24.6 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008584/1.297, allocations: 3.127 MB / 1.11 GB, free: 24.09 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002243/1.299, allocations: 397 kB / 1.11 GB, free: 24.09 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01009/1.309, allocations: 2.584 MB / 1.113 GB, free: 24.05 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003238/1.312, allocations: 1.262 MB / 1.114 GB, free: 23.88 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.008227/1.321, allocations: 2.266 MB / 1.116 GB, free: 23.23 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01165/1.332, allocations: 5.432 MB / 1.122 GB, free: 22.81 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.332, allocations: 0 / 1.122 GB, free: 22.81 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.014e-06/1.332, allocations: 0 / 1.122 GB, free: 22.81 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003054/1.333, allocations: 0 / 1.122 GB, free: 22.81 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01796/1.351, allocations: 4.816 MB / 1.126 GB, free: 20.61 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/1.351, allocations: 9.5 kB / 1.126 GB, free: 20.61 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01028/1.361, allocations: 1.495 MB / 1.128 GB, free: 20.31 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01434/1.375, allocations: 4.112 MB / 1.132 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003491/1.376, allocations: 181 kB / 1.132 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001305/1.377, allocations: 228.7 kB / 1.132 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009798/1.387, allocations: 2.709 MB / 1.135 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.74e-05/1.387, allocations: 8.438 kB / 1.135 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003482/1.387, allocations: 88.75 kB / 1.135 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.479e-05/1.387, allocations: 50.84 kB / 1.135 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005987/1.393, allocations: 2.124 MB / 1.137 GB, free: 19.08 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01992/1.413, allocations: 12.33 MB / 1.149 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004032/1.417, allocations: 1.679 MB / 1.151 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001886/1.419, allocations: 0.7894 MB / 1.151 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007434/1.427, allocations: 3.801 MB / 1.155 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/1.427, allocations: 48.12 kB / 1.155 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001738/1.429, allocations: 166.4 kB / 1.155 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=108): time 3.747e-06/1.429, allocations: 0 / 1.155 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of matching and sorting (n=108): time 0.009437/1.438, allocations: 3.17 MB / 1.158 GB, free: 8.195 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/1.438, allocations: 62.81 kB / 1.158 GB, free: 8.133 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00513/1.443, allocations: 3.207 MB / 1.162 GB, free: 6.438 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0004558/1.444, allocations: 61.7 kB / 1.162 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001547/1.445, allocations: 1.72 MB / 1.163 GB, free: 4.879 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005739/1.446, allocations: 376.4 kB / 1.164 GB, free: 4.559 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007561/1.447, allocations: 447.9 kB / 1.164 GB, free: 4.316 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001035/1.447, allocations: 301.1 kB / 1.164 GB, free: 4.02 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002549/1.449, allocations: 1.111 MB / 1.166 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002999/1.452, allocations: 1.761 MB / 1.167 GB, free: 2.105 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005317/1.458, allocations: 2.755 MB / 1.17 GB, free: 400 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.735e-05/1.458, allocations: 8.938 kB / 1.17 GB, free: 396 kB / 0.8731 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.007902/1.466, allocations: 3.491 MB / 1.173 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/1.466, allocations: 14.47 kB / 1.173 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/1.466, allocations: 21.16 kB / 1.173 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/1.467, allocations: 0.5496 MB / 1.174 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002077/1.469, allocations: 455.5 kB / 1.174 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/1.471, allocations: 2.588 MB / 1.177 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003716/1.475, allocations: 224.4 kB / 1.177 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003971/1.476, allocations: 139.5 kB / 1.177 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003991/1.48, allocations: 1.58 MB / 1.179 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002742/1.482, allocations: 1.596 MB / 1.18 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004661/1.487, allocations: 2.446 MB / 1.183 GB, free: 8.18 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.399e-05/1.487, allocations: 7.188 kB / 1.183 GB, free: 8.18 MB / 0.8887 GB Notification: Performance of matching and sorting (n=228) (initialization_lambda0): time 0.008227/1.495, allocations: 3.208 MB / 1.186 GB, free: 6.711 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/1.495, allocations: 14.19 kB / 1.186 GB, free: 6.711 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/1.495, allocations: 17.59 kB / 1.186 GB, free: 6.711 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002473/1.498, allocations: 0.6581 MB / 1.187 GB, free: 6.414 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001997/1.5, allocations: 430.6 kB / 1.187 GB, free: 6.113 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01684/1.517, allocations: 11.85 MB / 1.199 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004112/1.521, allocations: 224.6 kB / 1.199 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000651/1.522, allocations: 127.9 kB / 1.199 GB, free: 9.34 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (200): * Single equations (assignments): 192 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.00114/1.523, allocations: 300.5 kB / 1.199 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001409/1.524, allocations: 343.5 kB / 1.199 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00823/1.532, allocations: 2.743 MB / 1.202 GB, free: 5.984 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-05/1.532, allocations: 12 kB / 1.202 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/1.532, allocations: 3.938 kB / 1.202 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.069e-05/1.532, allocations: 11.97 kB / 1.202 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/1.547, allocations: 4.868 MB / 1.207 GB, free: 1.062 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/1.547, allocations: 0 / 1.207 GB, free: 1.062 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/1.548, allocations: 281.9 kB / 1.207 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000952/1.549, allocations: 348.1 kB / 1.208 GB, free: 460 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/1.549, allocations: 43.95 kB / 1.208 GB, free: 416 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/1.551, allocations: 2.505 MB / 1.21 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.551, allocations: 0 / 1.21 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006894/1.558, allocations: 2.5 MB / 1.212 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002331/1.561, allocations: 0.5744 MB / 1.213 GB, free: 10.69 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001235/1.562, allocations: 28 kB / 1.213 GB, free: 10.66 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003193/1.565, allocations: 211.5 kB / 1.213 GB, free: 10.45 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/1.565, allocations: 84 kB / 1.213 GB, free: 10.37 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002012/1.565, allocations: 75.88 kB / 1.213 GB, free: 10.3 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.005233/1.571, allocations: 2.132 MB / 1.215 GB, free: 8.156 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.41e-07/1.571, allocations: 0 / 1.215 GB, free: 8.156 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00997/1.581, allocations: 1.737 MB / 1.217 GB, free: 6.418 MB / 0.92 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002895/1.584, allocations: 0.7077 MB / 1.218 GB, free: 5.77 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01289/1.597, allocations: 4.441 MB / 1.222 GB, free: 1.406 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.597, allocations: 0 / 1.222 GB, free: 1.406 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002899/1.599, allocations: 0.9804 MB / 1.223 GB, free: 460 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01034/1.61, allocations: 1.664 MB / 1.225 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/1.626, allocations: 7.326 MB / 1.232 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003031/1.629, allocations: 2.169 MB / 1.234 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001411/1.63, allocations: 291.2 kB / 1.234 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of SimCode: time 1.733e-06/1.63, allocations: 0 / 1.234 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of Templates: time 0.156/1.786, allocations: 125.9 MB / 1.357 GB, free: 7.84 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_PumpCurveConstruction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches