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.001869/0.001869, allocations: 108 kB / 15.6 MB, free: 132 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.002468/0.002468, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.476/1.476, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.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.45/2.45, allocations: 390.2 MB / 0.6647 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001319, allocations: 67.88 kB / 0.8125 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6632/0.6645, allocations: 140.4 MB / 0.9496 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1039/0.7685, allocations: 102.6 MB / 1.05 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.05148/0.82, allocations: 32.45 MB / 1.081 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00694/0.827, allocations: 155.1 kB / 1.082 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.007354/0.8344, allocations: 1.976 MB / 1.084 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01637/0.8508, allocations: 4.933 MB / 1.088 GB, free: 3.227 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.009977/0.8608, allocations: 3.801 MB / 1.092 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01396/0.8748, allocations: 9.382 MB / 1.101 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006274/0.8811, allocations: 3.495 MB / 1.105 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008932/0.8901, allocations: 3.935 MB / 1.109 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005274/0.8954, allocations: 2.972 MB / 1.111 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001288/0.8967, allocations: 396 kB / 1.112 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006518/0.9032, allocations: 2.554 MB / 1.114 GB, free: 8.609 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00193/0.9051, allocations: 1.242 MB / 1.116 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.004169/0.9093, allocations: 2.266 MB / 1.118 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01198/0.9213, allocations: 6.82 MB / 1.124 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.9214, allocations: 0 / 1.124 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.557e-06/0.9214, allocations: 4 kB / 1.124 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001971/0.9216, allocations: 0 / 1.124 GB, free: 14.24 MB / 0.8887 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.01104/0.9326, allocations: 4.799 MB / 1.129 GB, free: 9.367 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.9327, allocations: 12.03 kB / 1.129 GB, free: 9.355 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009034/0.9417, allocations: 1.494 MB / 1.131 GB, free: 7.855 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01059/0.9523, allocations: 3.97 MB / 1.134 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002107/0.9526, allocations: 180.8 kB / 1.135 GB, free: 3.648 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006675/0.9533, allocations: 228 kB / 1.135 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005847/0.9591, allocations: 2.698 MB / 1.137 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.764e-05/0.9592, allocations: 3.938 kB / 1.137 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000224/0.9594, allocations: 91.98 kB / 1.138 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.72e-05/0.9595, allocations: 56 kB / 1.138 GB, free: 456 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005618/0.9651, allocations: 2.088 MB / 1.14 GB, free: 14.36 MB / 0.9044 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.01942/0.9845, allocations: 12.64 MB / 1.152 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004241/0.9888, allocations: 1.595 MB / 1.154 GB, free: 15.24 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00195/0.9908, allocations: 0.7544 MB / 1.154 GB, free: 14.48 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006649/0.9974, allocations: 3.731 MB / 1.158 GB, free: 10.46 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.9975, allocations: 43.56 kB / 1.158 GB, free: 10.41 MB / 0.92 GB Notification: Performance of pre-optimization done (n=104): time 2.395e-06/0.9975, allocations: 0 / 1.158 GB, free: 10.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=104): time 0.01009/1.008, allocations: 3.084 MB / 1.161 GB, free: 7.234 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/1.008, allocations: 68.39 kB / 1.161 GB, free: 7.156 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005206/1.013, allocations: 3.257 MB / 1.164 GB, free: 3.883 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003947/1.013, allocations: 53.7 kB / 1.164 GB, free: 3.824 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001516/1.015, allocations: 1.721 MB / 1.166 GB, free: 2.09 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005311/1.015, allocations: 370.7 kB / 1.166 GB, free: 1.723 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000692/1.016, allocations: 435.2 kB / 1.167 GB, free: 1.289 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.016, allocations: 305.1 kB / 1.167 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002517/1.019, allocations: 1.078 MB / 1.168 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003142/1.022, allocations: 1.725 MB / 1.17 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005368/1.027, allocations: 2.678 MB / 1.172 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/1.027, allocations: 8 kB / 1.172 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=224) (initialization): time 0.007903/1.035, allocations: 3.42 MB / 1.176 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/1.035, allocations: 12 kB / 1.176 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/1.035, allocations: 16.91 kB / 1.176 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/1.037, allocations: 0.5575 MB / 1.176 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/1.039, allocations: 451.2 kB / 1.177 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/1.041, allocations: 2.584 MB / 1.179 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00275/1.044, allocations: 269.9 kB / 1.179 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002808/1.044, allocations: 139.9 kB / 1.18 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003269/1.047, allocations: 1.535 MB / 1.181 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00256/1.05, allocations: 1.577 MB / 1.183 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004613/1.055, allocations: 2.36 MB / 1.185 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.109e-05/1.055, allocations: 4 kB / 1.185 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of matching and sorting (n=224) (initialization_lambda0): time 0.007872/1.063, allocations: 3.127 MB / 1.188 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/1.063, allocations: 12 kB / 1.188 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/1.063, allocations: 20 kB / 1.188 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002283/1.065, allocations: 0.6554 MB / 1.189 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/1.067, allocations: 423.3 kB / 1.189 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01618/1.083, allocations: 11.86 MB / 1.201 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002886/1.086, allocations: 206.7 kB / 1.201 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003988/1.086, allocations: 124 kB / 1.201 GB, free: 12.26 MB / 0.9669 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.0006848/1.087, allocations: 295.6 kB / 1.201 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009869/1.088, allocations: 339.5 kB / 1.202 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006981/1.095, allocations: 2.639 MB / 1.204 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/1.095, allocations: 19.94 kB / 1.204 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/1.095, allocations: 4 kB / 1.204 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/1.095, allocations: 7.969 kB / 1.204 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/1.106, allocations: 4.775 MB / 1.209 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/1.106, allocations: 0 / 1.209 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/1.107, allocations: 263.7 kB / 1.209 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009662/1.108, allocations: 350.9 kB / 1.209 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/1.108, allocations: 39.95 kB / 1.209 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/1.11, allocations: 2.506 MB / 1.212 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.11, allocations: 3.938 kB / 1.212 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006343/1.116, allocations: 2.405 MB / 1.214 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001587/1.118, allocations: 0.5782 MB / 1.215 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007884/1.119, allocations: 24 kB / 1.215 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002139/1.121, allocations: 119.8 kB / 1.215 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/1.121, allocations: 85.12 kB / 1.215 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001799/1.121, allocations: 63.94 kB / 1.215 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.004963/1.126, allocations: 2.179 MB / 1.217 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.91e-07/1.126, allocations: 4 kB / 1.217 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.006371/1.133, allocations: 1.715 MB / 1.219 GB, free: 9.566 MB / 0.9825 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.001899/1.135, allocations: 0.7357 MB / 1.22 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0117/1.146, allocations: 4.306 MB / 1.224 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/1.146, allocations: 4 kB / 1.224 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002645/1.149, allocations: 0.925 MB / 1.225 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007542/1.157, allocations: 1.656 MB / 1.226 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/1.168, allocations: 5.824 MB / 1.232 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/1.17, allocations: 2.16 MB / 1.234 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004114/1.174, allocations: 0.8128 MB / 1.235 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006692/1.175, allocations: 267.3 kB / 1.235 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/1.175, allocations: 3.938 kB / 1.235 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of Templates: time 0.6629/1.837, allocations: 76.6 MB / 1.31 GB, free: 260.4 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches