Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001577/0.001577, 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.001808/0.001808, allocations: 194.7 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 437 MB / 0.7103 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.91 kB / 0.8692 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6763/0.6775, allocations: 151.6 MB / 1.017 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.105/0.7825, allocations: 104.1 MB / 1.119 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.05374/0.8363, allocations: 34.93 MB / 1.153 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008667/0.845, allocations: 159.1 kB / 1.153 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.02932/0.8743, allocations: 18.54 MB / 1.171 GB, free: 4.312 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0151/0.8895, allocations: 5.276 MB / 1.176 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.009846/0.8993, allocations: 3.987 MB / 1.18 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.04582/0.9452, allocations: 31.04 MB / 1.211 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005925/0.9511, allocations: 3.551 MB / 1.214 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00875/0.9599, allocations: 4.114 MB / 1.218 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005163/0.9651, allocations: 3.224 MB / 1.221 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001005/0.9661, allocations: 432 kB / 1.222 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006288/0.9724, allocations: 2.898 MB / 1.225 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001732/0.9741, allocations: 1.83 MB / 1.226 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003649/0.9778, allocations: 2.946 MB / 1.229 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01255/0.9903, allocations: 8.544 MB / 1.238 GB, free: 304 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.9904, allocations: 0 / 1.238 GB, free: 304 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9904, allocations: 0 / 1.238 GB, free: 304 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002974/0.9907, allocations: 0 / 1.238 GB, free: 304 kB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 541 * Number of variables: 541 Notification: Performance of Generate backend data structure: time 0.01436/1.005, allocations: 6.179 MB / 1.244 GB, free: 10 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.005, allocations: 12.03 kB / 1.244 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/1.016, allocations: 1.901 MB / 1.245 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01526/1.032, allocations: 6.955 MB / 1.252 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000291/1.032, allocations: 201.2 kB / 1.252 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000672/1.033, allocations: 240 kB / 1.253 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5826/1.615, allocations: 3.221 MB / 1.256 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.357e-05/1.615, allocations: 4.188 kB / 1.256 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002473/1.616, allocations: 87.88 kB / 1.256 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.849e-05/1.616, allocations: 52.03 kB / 1.256 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007735/1.623, allocations: 2.619 MB / 1.259 GB, free: 221.3 MB / 0.9981 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.02414/1.648, allocations: 14.93 MB / 1.273 GB, free: 211.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00617/1.654, allocations: 2.302 MB / 1.275 GB, free: 211.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002446/1.656, allocations: 1.001 MB / 1.276 GB, free: 210.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00793/1.664, allocations: 4.968 MB / 1.281 GB, free: 207.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/1.664, allocations: 44.34 kB / 1.281 GB, free: 207.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=112): time 3.626e-06/1.664, allocations: 2.156 kB / 1.281 GB, free: 207.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=112): time 0.01185/1.676, allocations: 3.962 MB / 1.285 GB, free: 206.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/1.676, allocations: 67.31 kB / 1.285 GB, free: 206.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008077/1.684, allocations: 5.416 MB / 1.29 GB, free: 203.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005938/1.685, allocations: 65 kB / 1.29 GB, free: 203.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001641/1.687, allocations: 2.235 MB / 1.293 GB, free: 201.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000589/1.687, allocations: 409.5 kB / 1.293 GB, free: 201 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001409/1.689, allocations: 0.8805 MB / 1.294 GB, free: 200.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.861e-05/1.689, allocations: 309 kB / 1.294 GB, free: 200.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003726/1.692, allocations: 2.633 MB / 1.297 GB, free: 198.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004338/1.697, allocations: 3.466 MB / 1.3 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007701/1.704, allocations: 5.598 MB / 1.306 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.937e-05/1.704, allocations: 8 kB / 1.306 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.0111/1.716, allocations: 7.067 MB / 1.313 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/1.716, allocations: 15.98 kB / 1.313 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.153e-05/1.716, allocations: 16 kB / 1.313 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001589/1.717, allocations: 0.7309 MB / 1.313 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002629/1.72, allocations: 0.6669 MB / 1.314 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/1.722, allocations: 2.722 MB / 1.317 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003924/1.726, allocations: 461.2 kB / 1.317 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004248/1.726, allocations: 207.9 kB / 1.317 GB, free: 181 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005765/1.732, allocations: 3.243 MB / 1.32 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00383/1.736, allocations: 3.039 MB / 1.323 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006828/1.742, allocations: 4.74 MB / 1.328 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.592e-05/1.743, allocations: 7.938 kB / 1.328 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01185/1.754, allocations: 6.248 MB / 1.334 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/1.754, allocations: 12 kB / 1.334 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/1.754, allocations: 19.81 kB / 1.334 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002402/1.757, allocations: 0.8078 MB / 1.335 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/1.759, allocations: 0.6357 MB / 1.336 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01485/1.774, allocations: 13.65 MB / 1.349 GB, free: 147.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004348/1.779, allocations: 364.6 kB / 1.349 GB, free: 147.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006197/1.779, allocations: 175.9 kB / 1.349 GB, free: 146.9 MB / 0.9981 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 (332): * Single equations (assignments): 320 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * 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.0009261/1.78, allocations: 331.5 kB / 1.35 GB, free: 146.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/1.782, allocations: 473.6 kB / 1.35 GB, free: 146.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00856/1.79, allocations: 3.342 MB / 1.353 GB, free: 142.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/1.79, allocations: 16 kB / 1.353 GB, free: 142.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.79, allocations: 4 kB / 1.353 GB, free: 142.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/1.79, allocations: 7.969 kB / 1.353 GB, free: 142.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/1.806, allocations: 6.157 MB / 1.359 GB, free: 136.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/1.806, allocations: 3.938 kB / 1.359 GB, free: 136.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/1.807, allocations: 307.6 kB / 1.36 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008753/1.808, allocations: 387 kB / 1.36 GB, free: 135.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000179/1.808, allocations: 51.94 kB / 1.36 GB, free: 135.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/1.81, allocations: 2.619 MB / 1.363 GB, free: 133.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.81, allocations: 4.062 kB / 1.363 GB, free: 133.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007284/1.817, allocations: 3.071 MB / 1.366 GB, free: 129.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002455/1.82, allocations: 0.7792 MB / 1.367 GB, free: 129.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001333/1.821, allocations: 27.94 kB / 1.367 GB, free: 129.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003012/1.824, allocations: 151.8 kB / 1.367 GB, free: 129 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/1.824, allocations: 89.19 kB / 1.367 GB, free: 128.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001969/1.824, allocations: 95.92 kB / 1.367 GB, free: 128.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005924/1.83, allocations: 3.569 MB / 1.37 GB, free: 125.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.01e-07/1.83, allocations: 0 / 1.37 GB, free: 125.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.007106/1.837, allocations: 2.316 MB / 1.373 GB, free: 123 MB / 0.9981 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.001985/1.839, allocations: 0.9151 MB / 1.374 GB, free: 122.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01543/1.855, allocations: 7.996 MB / 1.381 GB, free: 114.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/1.855, allocations: 4 kB / 1.381 GB, free: 114.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00308/1.858, allocations: 1.18 MB / 1.382 GB, free: 112.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01136/1.869, allocations: 2.437 MB / 1.385 GB, free: 110.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/1.886, allocations: 8.442 MB / 1.393 GB, free: 102.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003394/1.889, allocations: 2.875 MB / 1.396 GB, free: 99.15 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.007176/1.897, allocations: 1.319 MB / 1.397 GB, free: 97.82 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001392/1.898, allocations: 383.2 kB / 1.398 GB, free: 97.45 MB / 0.9981 GB Notification: Performance of SimCode: time 7.02e-07/1.898, allocations: 0 / 1.398 GB, free: 97.45 MB / 0.9981 GB Notification: Performance of Templates: time 0.1524/2.05, allocations: 108.3 MB / 1.503 GB, free: 6.488 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Validation_PumpCurveConstruction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches