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.001596/0.001596, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.002004/0.002004, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.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.271/2.271, allocations: 390.3 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003946, allocations: 8 kB / 0.8145 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6896/0.69, allocations: 142.3 MB / 0.9535 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.08471/0.7748, allocations: 86.02 MB / 1.038 GB, free: 9.98 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.04368/0.8185, allocations: 28.3 MB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007361/0.8259, allocations: 127.1 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.006906/0.8329, allocations: 1.57 MB / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01818/0.8511, allocations: 5.067 MB / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01138/0.8625, allocations: 3.654 MB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01308/0.8756, allocations: 5.719 MB / 1.081 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006205/0.8818, allocations: 2.665 MB / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008431/0.8903, allocations: 2.923 MB / 1.086 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004474/0.8948, allocations: 1.945 MB / 1.088 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001398/0.8962, allocations: 152 kB / 1.088 GB, free: 5.766 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006796/0.903, allocations: 1.697 MB / 1.09 GB, free: 4.066 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002241/0.9053, allocations: 0.8991 MB / 1.091 GB, free: 3.164 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002648/0.908, allocations: 0.8276 MB / 1.092 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.008935/0.9169, allocations: 4.991 MB / 1.097 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.917, allocations: 0 / 1.097 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.11e-06/0.917, allocations: 0 / 1.097 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002379/0.9172, allocations: 3.938 kB / 1.097 GB, free: 13.32 MB / 0.8575 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.009925/0.9272, allocations: 4.102 MB / 1.101 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.9272, allocations: 8.031 kB / 1.101 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009041/0.9363, allocations: 1.61 MB / 1.102 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01184/0.9482, allocations: 3.96 MB / 1.106 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002711/0.9485, allocations: 188.7 kB / 1.106 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001041/0.9495, allocations: 224 kB / 1.106 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007839/0.9574, allocations: 2.661 MB / 1.109 GB, free: 324 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.938e-05/0.9575, allocations: 7.984 kB / 1.109 GB, free: 316 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004052/0.9579, allocations: 84 kB / 1.109 GB, free: 232 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.121e-05/0.958, allocations: 48 kB / 1.109 GB, free: 184 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006332/0.9643, allocations: 2.084 MB / 1.111 GB, free: 14.09 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.02249/0.9868, allocations: 12.24 MB / 1.123 GB, free: 1.016 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004672/0.9916, allocations: 1.594 MB / 1.125 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008265/0.9999, allocations: 3.814 MB / 1.128 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.9999, allocations: 47.52 kB / 1.129 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001579/1.002, allocations: 198.3 kB / 1.129 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=108): time 5.53e-06/1.002, allocations: 0 / 1.129 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of matching and sorting (n=108): time 0.009465/1.011, allocations: 3.08 MB / 1.132 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/1.011, allocations: 60.41 kB / 1.132 GB, free: 7.812 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005316/1.016, allocations: 3.221 MB / 1.135 GB, free: 4.574 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003605/1.017, allocations: 53.7 kB / 1.135 GB, free: 4.516 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.00148/1.018, allocations: 1.725 MB / 1.137 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005246/1.019, allocations: 374.6 kB / 1.137 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/1.019, allocations: 36 kB / 1.137 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000158/1.019, allocations: 369.9 kB / 1.137 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002256/1.021, allocations: 0.8237 MB / 1.138 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002652/1.024, allocations: 1.476 MB / 1.14 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002487/1.027, allocations: 0.9666 MB / 1.141 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/1.027, allocations: 4 kB / 1.141 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.007136/1.034, allocations: 2.804 MB / 1.143 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.002945/1.037, allocations: 7.657 MB / 1.151 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.934e-05/1.037, allocations: 16 kB / 1.151 GB, free: 3.465 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/1.038, allocations: 355 kB / 1.151 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002192/1.04, allocations: 459.3 kB / 1.152 GB, free: 2.656 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/1.042, allocations: 2.592 MB / 1.154 GB, free: 15.96 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003394/1.046, allocations: 231.8 kB / 1.154 GB, free: 15.73 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004941/1.046, allocations: 143.9 kB / 1.154 GB, free: 15.59 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/1.046, allocations: 4 kB / 1.154 GB, free: 15.59 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00686/1.053, allocations: 2.786 MB / 1.157 GB, free: 12.79 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.763e-05/1.053, allocations: 19.98 kB / 1.157 GB, free: 12.77 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002178/1.056, allocations: 0.652 MB / 1.158 GB, free: 12.1 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/1.057, allocations: 427.3 kB / 1.158 GB, free: 11.68 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0161/1.074, allocations: 11.06 MB / 1.169 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003863/1.077, allocations: 219.7 kB / 1.169 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006153/1.078, allocations: 128 kB / 1.169 GB, free: 15.6 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002401/1.081, allocations: 0.8128 MB / 1.17 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009467/1.081, allocations: 347.5 kB / 1.171 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007527/1.089, allocations: 2.69 MB / 1.173 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/1.089, allocations: 12 kB / 1.173 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.089, allocations: 0 / 1.173 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/1.089, allocations: 15.89 kB / 1.173 GB, free: 11.69 MB / 0.9356 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 postOpt removeSimpleEquations (simulation): time 0.01274/1.102, allocations: 5.006 MB / 1.178 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/1.102, allocations: 4.062 kB / 1.178 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/1.103, allocations: 283.6 kB / 1.178 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009492/1.104, allocations: 338.9 kB / 1.179 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/1.105, allocations: 51.91 kB / 1.179 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/1.106, allocations: 2.502 MB / 1.181 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.106, allocations: 0 / 1.181 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006395/1.113, allocations: 2.45 MB / 1.184 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00205/1.115, allocations: 0.5938 MB / 1.184 GB, free: 160 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008954/1.116, allocations: 20 kB / 1.184 GB, free: 140 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00263/1.118, allocations: 235.5 kB / 1.184 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/1.119, allocations: 81.19 kB / 1.184 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001799/1.119, allocations: 71.92 kB / 1.185 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.004339/1.123, allocations: 2.14 MB / 1.187 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.11e-07/1.123, allocations: 0 / 1.187 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.007412/1.131, allocations: 1.773 MB / 1.188 GB, free: 11.82 MB / 0.9512 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 (113): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002029/1.133, allocations: 0.7323 MB / 1.189 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01004/1.143, allocations: 3.917 MB / 1.193 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.143, allocations: 0.6875 kB / 1.193 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002515/1.145, allocations: 0.9288 MB / 1.194 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007245/1.153, allocations: 1.521 MB / 1.195 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/1.167, allocations: 6.802 MB / 1.202 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003304/1.17, allocations: 2.238 MB / 1.204 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.005419/1.176, allocations: 0.8583 MB / 1.205 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/1.177, allocations: 291.2 kB / 1.205 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of SimCode: time 7.52e-07/1.177, allocations: 0 / 1.205 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of Templates: time 0.6791/1.856, allocations: 71.37 MB / 1.275 GB, free: 252.1 MB / 0.9981 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","../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches