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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001309/0.001309, allocations: 112.6 kB / 16.37 MB, free: 6 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.001126/0.001126, allocations: 196 kB / 17.31 MB, free: 5.613 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.321/2.321, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.3 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2475, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1108/0.3583, allocations: 102.6 MB / 1.051 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.05088/0.4093, allocations: 32.43 MB / 1.083 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006653/0.416, allocations: 159.1 kB / 1.083 GB, free: 376 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.4703/0.8863, allocations: 1.968 MB / 1.085 GB, free: 8 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01351/0.8999, allocations: 4.927 MB / 1.09 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.009775/0.9097, allocations: 3.83 MB / 1.094 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01595/0.9256, allocations: 9.394 MB / 1.103 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007476/0.9331, allocations: 3.505 MB / 1.106 GB, free: 23.53 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01115/0.9443, allocations: 3.953 MB / 1.11 GB, free: 23.34 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006692/0.951, allocations: 2.967 MB / 1.113 GB, free: 22.83 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002083/0.9531, allocations: 394.5 kB / 1.113 GB, free: 22.83 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007836/0.961, allocations: 2.558 MB / 1.116 GB, free: 22.79 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002457/0.9635, allocations: 1.247 MB / 1.117 GB, free: 22.63 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.004771/0.9683, allocations: 2.26 MB / 1.119 GB, free: 21.97 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.9785, allocations: 6.917 MB / 1.126 GB, free: 21.03 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.9785, allocations: 3.844 kB / 1.126 GB, free: 21.03 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.435e-06/0.9786, allocations: 1.094 kB / 1.126 GB, free: 21.03 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.000167/0.9787, allocations: 0 / 1.126 GB, free: 21.03 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.01302/0.9918, allocations: 4.797 MB / 1.131 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.9918, allocations: 9.5 kB / 1.131 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008531/1, allocations: 1.499 MB / 1.132 GB, free: 18.53 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01079/1.011, allocations: 4.071 MB / 1.136 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002378/1.011, allocations: 175.8 kB / 1.136 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007143/1.012, allocations: 230.5 kB / 1.137 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005426/1.018, allocations: 2.703 MB / 1.139 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.015e-05/1.018, allocations: 4.25 kB / 1.139 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002223/1.018, allocations: 93.59 kB / 1.139 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.654e-05/1.018, allocations: 51.12 kB / 1.139 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004982/1.023, allocations: 2.086 MB / 1.141 GB, free: 17.26 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.01809/1.041, allocations: 12.55 MB / 1.154 GB, free: 9.555 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003929/1.045, allocations: 1.596 MB / 1.155 GB, free: 8.766 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00213/1.047, allocations: 0.7543 MB / 1.156 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007607/1.055, allocations: 3.722 MB / 1.16 GB, free: 5.141 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/1.055, allocations: 46.59 kB / 1.16 GB, free: 5.09 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=104): time 3.416e-06/1.055, allocations: 0 / 1.16 GB, free: 5.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=104): time 0.009839/1.065, allocations: 3.083 MB / 1.163 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/1.065, allocations: 61.88 kB / 1.163 GB, free: 3.328 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005438/1.07, allocations: 3.263 MB / 1.166 GB, free: 1.602 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0005175/1.071, allocations: 57.52 kB / 1.166 GB, free: 1.551 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001334/1.072, allocations: 1.72 MB / 1.168 GB, free: 48 kB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005583/1.073, allocations: 368.5 kB / 1.168 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006777/1.073, allocations: 431.8 kB / 1.168 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.284e-05/1.073, allocations: 305.1 kB / 1.169 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002387/1.076, allocations: 1.077 MB / 1.17 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002754/1.079, allocations: 1.724 MB / 1.171 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00485/1.083, allocations: 2.686 MB / 1.174 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/1.084, allocations: 4.875 kB / 1.174 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of matching and sorting (n=224) (initialization): time 0.007685/1.091, allocations: 3.417 MB / 1.177 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/1.091, allocations: 12.81 kB / 1.177 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.371e-05/1.091, allocations: 16.78 kB / 1.177 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/1.093, allocations: 0.5517 MB / 1.178 GB, free: 9.824 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/1.095, allocations: 447.1 kB / 1.178 GB, free: 9.727 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/1.097, allocations: 2.594 MB / 1.181 GB, free: 7.359 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003443/1.1, allocations: 270.3 kB / 1.181 GB, free: 7.195 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003534/1.101, allocations: 143.9 kB / 1.181 GB, free: 7.16 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003594/1.104, allocations: 1.538 MB / 1.183 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002576/1.107, allocations: 1.563 MB / 1.184 GB, free: 5.039 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004311/1.111, allocations: 2.366 MB / 1.187 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.773e-05/1.111, allocations: 6.719 kB / 1.187 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of matching and sorting (n=224) (initialization_lambda0): time 0.007644/1.119, allocations: 3.126 MB / 1.19 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/1.119, allocations: 13.38 kB / 1.19 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.029e-05/1.119, allocations: 19.84 kB / 1.19 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002325/1.121, allocations: 0.6546 MB / 1.19 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/1.123, allocations: 423.4 kB / 1.191 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01566/1.139, allocations: 11.85 MB / 1.202 GB, free: 4.605 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003212/1.142, allocations: 208.5 kB / 1.203 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005361/1.143, allocations: 120 kB / 1.203 GB, free: 4.285 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 (196): * Single equations (assignments): 188 * 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.000849/1.143, allocations: 291.6 kB / 1.203 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00115/1.145, allocations: 343.5 kB / 1.203 GB, free: 3.68 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007507/1.152, allocations: 2.631 MB / 1.206 GB, free: 1.051 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-05/1.152, allocations: 23.98 kB / 1.206 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/1.152, allocations: 0 / 1.206 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/1.152, allocations: 7.922 kB / 1.206 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/1.164, allocations: 4.775 MB / 1.211 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/1.164, allocations: 4 kB / 1.211 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/1.165, allocations: 261.8 kB / 1.211 GB, free: 11.96 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009615/1.166, allocations: 333.2 kB / 1.211 GB, free: 11.63 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/1.167, allocations: 47.95 kB / 1.211 GB, free: 11.58 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/1.168, allocations: 2.508 MB / 1.214 GB, free: 8.977 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.168, allocations: 4.031 kB / 1.214 GB, free: 8.973 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00611/1.174, allocations: 2.405 MB / 1.216 GB, free: 6.543 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001798/1.176, allocations: 0.582 MB / 1.217 GB, free: 5.938 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008493/1.177, allocations: 24 kB / 1.217 GB, free: 5.914 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00217/1.179, allocations: 115.9 kB / 1.217 GB, free: 5.801 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/1.18, allocations: 84.38 kB / 1.217 GB, free: 5.723 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001668/1.18, allocations: 63.94 kB / 1.217 GB, free: 5.66 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.004203/1.184, allocations: 2.179 MB / 1.219 GB, free: 3.473 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/1.184, allocations: 0 / 1.219 GB, free: 3.473 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.009092/1.193, allocations: 1.719 MB / 1.221 GB, free: 1.75 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 (109): * Single equations (assignments): 96 * 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.002096/1.195, allocations: 0.746 MB / 1.221 GB, free: 1.066 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01064/1.206, allocations: 4.255 MB / 1.225 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.206, allocations: 4.062 kB / 1.225 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002549/1.208, allocations: 0.934 MB / 1.226 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007233/1.216, allocations: 1.63 MB / 1.228 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/1.227, allocations: 5.734 MB / 1.234 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002431/1.23, allocations: 2.164 MB / 1.236 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.003693/1.233, allocations: 0.8156 MB / 1.236 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008481/1.234, allocations: 271.3 kB / 1.237 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of SimCode: time 9.12e-07/1.234, allocations: 0 / 1.237 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of Templates: time 0.1181/1.353, allocations: 73.74 MB / 1.309 GB, free: 9.074 MB / 1.014 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 -s gbode -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