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.001578/0.001578, allocations: 106.9 kB / 16.37 MB, free: 6.477 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.001802/0.001802, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.19 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.284/2.284, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 66.44 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2613, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.09814/0.3595, allocations: 102.7 MB / 1.051 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.04866/0.4082, allocations: 32.43 MB / 1.083 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00533/0.4136, allocations: 155.1 kB / 1.083 GB, free: 416 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.5668/0.9803, allocations: 1.969 MB / 1.085 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01483/0.9953, allocations: 4.93 MB / 1.09 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.01/1.005, allocations: 3.839 MB / 1.094 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.02056/1.026, allocations: 9.389 MB / 1.103 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009073/1.035, allocations: 3.51 MB / 1.106 GB, free: 23.5 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0125/1.048, allocations: 3.948 MB / 1.11 GB, free: 23.32 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007773/1.055, allocations: 2.979 MB / 1.113 GB, free: 22.8 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002685/1.058, allocations: 393.8 kB / 1.113 GB, free: 22.8 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01014/1.068, allocations: 2.556 MB / 1.116 GB, free: 22.76 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003534/1.072, allocations: 1.248 MB / 1.117 GB, free: 22.6 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.005906/1.078, allocations: 2.258 MB / 1.119 GB, free: 21.94 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01394/1.092, allocations: 6.914 MB / 1.126 GB, free: 21 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/1.092, allocations: 0 / 1.126 GB, free: 21 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.334e-06/1.092, allocations: 5.375 kB / 1.126 GB, free: 21 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002228/1.092, allocations: 0 / 1.126 GB, free: 21 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.01765/1.11, allocations: 4.8 MB / 1.131 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.172e-05/1.11, allocations: 9.344 kB / 1.131 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/1.12, allocations: 1.494 MB / 1.132 GB, free: 18.5 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01317/1.133, allocations: 4.067 MB / 1.136 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002906/1.134, allocations: 174.8 kB / 1.136 GB, free: 17.63 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/1.135, allocations: 236.5 kB / 1.137 GB, free: 17.63 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006353/1.141, allocations: 2.706 MB / 1.139 GB, free: 17.28 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.038e-05/1.141, allocations: 2.469 kB / 1.139 GB, free: 17.28 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000229/1.141, allocations: 82.56 kB / 1.139 GB, free: 17.28 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.105e-05/1.142, allocations: 51.12 kB / 1.139 GB, free: 17.28 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005199/1.147, allocations: 2.098 MB / 1.141 GB, free: 17.24 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.01969/1.166, allocations: 12.54 MB / 1.154 GB, free: 9.578 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003941/1.17, allocations: 1.593 MB / 1.155 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001867/1.172, allocations: 0.7589 MB / 1.156 GB, free: 8.426 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007562/1.18, allocations: 3.725 MB / 1.16 GB, free: 5.156 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/1.18, allocations: 42.5 kB / 1.16 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=104): time 2.926e-06/1.18, allocations: 4 kB / 1.16 GB, free: 5.105 MB / 0.8731 GB Notification: Performance of matching and sorting (n=104): time 0.00973/1.19, allocations: 3.084 MB / 1.163 GB, free: 3.406 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/1.19, allocations: 64.53 kB / 1.163 GB, free: 3.34 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005577/1.195, allocations: 3.26 MB / 1.166 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0005692/1.196, allocations: 58.11 kB / 1.166 GB, free: 1.562 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001623/1.198, allocations: 1.72 MB / 1.168 GB, free: 60 kB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007826/1.198, allocations: 359.7 kB / 1.168 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008004/1.199, allocations: 440.6 kB / 1.168 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.199, allocations: 303.3 kB / 1.169 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002457/1.202, allocations: 1.073 MB / 1.17 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002983/1.205, allocations: 1.727 MB / 1.171 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005459/1.21, allocations: 2.68 MB / 1.174 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.587e-05/1.21, allocations: 5.031 kB / 1.174 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of matching and sorting (n=224) (initialization): time 0.008298/1.219, allocations: 3.414 MB / 1.177 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.574e-05/1.219, allocations: 11.03 kB / 1.177 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-05/1.219, allocations: 16.72 kB / 1.177 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001745/1.22, allocations: 0.56 MB / 1.178 GB, free: 9.836 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002497/1.223, allocations: 440.2 kB / 1.178 GB, free: 9.742 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/1.226, allocations: 2.596 MB / 1.181 GB, free: 7.375 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004848/1.23, allocations: 279 kB / 1.181 GB, free: 7.199 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006411/1.231, allocations: 136.5 kB / 1.181 GB, free: 7.168 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004258/1.235, allocations: 1.543 MB / 1.183 GB, free: 6.324 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002543/1.238, allocations: 1.561 MB / 1.184 GB, free: 5.047 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004355/1.242, allocations: 2.367 MB / 1.187 GB, free: 3.531 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.127e-05/1.242, allocations: 6.812 kB / 1.187 GB, free: 3.531 MB / 0.8887 GB Notification: Performance of matching and sorting (n=224) (initialization_lambda0): time 0.007627/1.25, allocations: 3.124 MB / 1.19 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/1.25, allocations: 10.97 kB / 1.19 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/1.25, allocations: 23.44 kB / 1.19 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002273/1.252, allocations: 0.6512 MB / 1.19 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/1.254, allocations: 428.9 kB / 1.191 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01576/1.27, allocations: 11.84 MB / 1.202 GB, free: 4.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003399/1.273, allocations: 215.5 kB / 1.203 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000473/1.274, allocations: 120 kB / 1.203 GB, free: 4.355 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.000704/1.275, allocations: 287.8 kB / 1.203 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009961/1.276, allocations: 343.5 kB / 1.203 GB, free: 3.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006943/1.283, allocations: 2.648 MB / 1.206 GB, free: 1.102 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-05/1.283, allocations: 12 kB / 1.206 GB, free: 1.09 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/1.283, allocations: 0 / 1.206 GB, free: 1.09 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/1.283, allocations: 11.91 kB / 1.206 GB, free: 1.078 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/1.295, allocations: 4.768 MB / 1.211 GB, free: 12.29 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/1.295, allocations: 0 / 1.211 GB, free: 12.29 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/1.296, allocations: 270.5 kB / 1.211 GB, free: 12.04 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000932/1.297, allocations: 338.9 kB / 1.211 GB, free: 11.7 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/1.297, allocations: 39.95 kB / 1.211 GB, free: 11.66 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/1.299, allocations: 2.502 MB / 1.214 GB, free: 9.055 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.299, allocations: 0 / 1.214 GB, free: 9.055 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00654/1.306, allocations: 2.412 MB / 1.216 GB, free: 6.621 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002162/1.308, allocations: 0.5859 MB / 1.217 GB, free: 6.012 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009674/1.309, allocations: 24 kB / 1.217 GB, free: 5.988 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002017/1.311, allocations: 111.9 kB / 1.217 GB, free: 5.879 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/1.311, allocations: 85.2 kB / 1.217 GB, free: 5.797 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001665/1.311, allocations: 63.94 kB / 1.217 GB, free: 5.734 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.004074/1.316, allocations: 2.183 MB / 1.219 GB, free: 3.543 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.61e-07/1.316, allocations: 0 / 1.219 GB, free: 3.543 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.007909/1.323, allocations: 1.715 MB / 1.221 GB, free: 1.824 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.002205/1.326, allocations: 0.7404 MB / 1.221 GB, free: 1.148 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01082/1.337, allocations: 4.252 MB / 1.225 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.337, allocations: 0.6875 kB / 1.225 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002696/1.339, allocations: 0.9301 MB / 1.226 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007876/1.347, allocations: 1.646 MB / 1.228 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/1.359, allocations: 5.731 MB / 1.234 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001798/1.36, allocations: 2.16 MB / 1.236 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.00353/1.364, allocations: 0.8272 MB / 1.237 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007555/1.365, allocations: 271.3 kB / 1.237 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of SimCode: time 9.81e-07/1.365, allocations: 0 / 1.237 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of Templates: time 0.1254/1.49, allocations: 73.73 MB / 1.309 GB, free: 9.148 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 cvode -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