Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001645/0.001645, allocations: 109.7 kB / 16.41 MB, free: 6.02 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.002205/0.002205, allocations: 191.8 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.835/2.835, 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 11.0.1-master/package.mo): time 5.362/5.362, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002477/0.002477, allocations: 63.91 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.064, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1802/1.245, allocations: 104.1 MB / 1.31 GB, free: 5.156 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.08017/1.325, allocations: 34.93 MB / 1.344 GB, free: 2.145 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007702/1.333, allocations: 163.1 kB / 1.344 GB, free: 1.984 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01234/1.345, allocations: 2.879 MB / 1.347 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.02258/1.368, allocations: 5.466 MB / 1.353 GB, free: 9.602 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01599/1.384, allocations: 4.046 MB / 1.356 GB, free: 5.574 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.07303/1.457, allocations: 31.53 MB / 1.387 GB, free: 5.996 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009255/1.466, allocations: 3.676 MB / 1.391 GB, free: 2.254 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01398/1.48, allocations: 4.364 MB / 1.395 GB, free: 13.89 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009001/1.489, allocations: 3.371 MB / 1.398 GB, free: 10.5 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.002459/1.492, allocations: 460 kB / 1.399 GB, free: 10.05 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01114/1.503, allocations: 2.933 MB / 1.402 GB, free: 7.117 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.003751/1.506, allocations: 1.873 MB / 1.404 GB, free: 5.238 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.007127/1.514, allocations: 2.989 MB / 1.406 GB, free: 2.234 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.02104/1.535, allocations: 8.777 MB / 1.415 GB, free: 9.43 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/1.535, allocations: 0 / 1.415 GB, free: 9.43 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.074e-06/1.535, allocations: 0 / 1.415 GB, free: 9.43 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0002311/1.535, allocations: 0 / 1.415 GB, free: 9.43 MB / 1.139 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.02285/1.558, allocations: 6.269 MB / 1.421 GB, free: 3.043 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/1.558, allocations: 8.031 kB / 1.421 GB, free: 3.035 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01906/1.577, allocations: 1.897 MB / 1.423 GB, free: 1.129 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02892/1.606, allocations: 7.279 MB / 1.43 GB, free: 9.781 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003683/1.606, allocations: 184.2 kB / 1.43 GB, free: 9.598 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00119/1.608, allocations: 244 kB / 1.431 GB, free: 9.359 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0127/1.62, allocations: 3.216 MB / 1.434 GB, free: 6 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.173e-05/1.62, allocations: 7.938 kB / 1.434 GB, free: 5.992 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006591/1.621, allocations: 88 kB / 1.434 GB, free: 5.906 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-05/1.621, allocations: 56 kB / 1.434 GB, free: 5.852 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01256/1.634, allocations: 2.596 MB / 1.436 GB, free: 3.238 MB / 1.154 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.03811/1.672, allocations: 14.86 MB / 1.451 GB, free: 3.473 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/1.682, allocations: 2.27 MB / 1.453 GB, free: 1.191 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004618/1.687, allocations: 0.9959 MB / 1.454 GB, free: 196 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01516/1.702, allocations: 4.987 MB / 1.459 GB, free: 10.91 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.488e-05/1.702, allocations: 51.55 kB / 1.459 GB, free: 10.85 MB / 1.186 GB Notification: Performance of pre-optimization done (n=112): time 8.215e-06/1.702, allocations: 3.984 kB / 1.459 GB, free: 10.84 MB / 1.186 GB Notification: Performance of matching and sorting (n=112): time 0.02053/1.723, allocations: 3.941 MB / 1.463 GB, free: 6.805 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/1.723, allocations: 64.41 kB / 1.463 GB, free: 6.73 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01605/1.739, allocations: 5.482 MB / 1.468 GB, free: 1.238 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0008244/1.74, allocations: 57.7 kB / 1.468 GB, free: 1.176 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.004412/1.744, allocations: 2.227 MB / 1.47 GB, free: 14.93 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001178/1.746, allocations: 410.3 kB / 1.471 GB, free: 14.52 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003406/1.749, allocations: 0.8837 MB / 1.472 GB, free: 13.63 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.749, allocations: 305.1 kB / 1.472 GB, free: 13.33 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008193/1.758, allocations: 2.618 MB / 1.475 GB, free: 10.71 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009386/1.767, allocations: 3.467 MB / 1.478 GB, free: 6.922 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01699/1.784, allocations: 5.575 MB / 1.483 GB, free: 1.086 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.314e-05/1.784, allocations: 4 kB / 1.483 GB, free: 1.082 MB / 1.201 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.02442/1.808, allocations: 7.053 MB / 1.49 GB, free: 9.98 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 5.724e-05/1.809, allocations: 12.94 kB / 1.49 GB, free: 9.969 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.673e-05/1.809, allocations: 23.88 kB / 1.49 GB, free: 9.945 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002941/1.812, allocations: 0.7254 MB / 1.491 GB, free: 9.207 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005758/1.817, allocations: 0.667 MB / 1.492 GB, free: 8.539 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004579/1.822, allocations: 2.721 MB / 1.494 GB, free: 5.715 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007392/1.829, allocations: 452.2 kB / 1.495 GB, free: 5.27 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001078/1.831, allocations: 207.9 kB / 1.495 GB, free: 5.066 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0111/1.842, allocations: 3.247 MB / 1.498 GB, free: 1.812 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008263/1.85, allocations: 3.034 MB / 1.501 GB, free: 14.46 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01388/1.864, allocations: 4.717 MB / 1.506 GB, free: 9.484 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.817e-05/1.864, allocations: 4 kB / 1.506 GB, free: 9.48 MB / 1.232 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.02178/1.886, allocations: 6.225 MB / 1.512 GB, free: 3.215 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.636e-05/1.886, allocations: 12 kB / 1.512 GB, free: 3.203 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-05/1.886, allocations: 20.91 kB / 1.512 GB, free: 3.184 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00437/1.89, allocations: 0.8115 MB / 1.513 GB, free: 2.359 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005108/1.895, allocations: 0.628 MB / 1.513 GB, free: 1.73 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03164/1.927, allocations: 13.65 MB / 1.527 GB, free: 3.418 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007702/1.935, allocations: 355.5 kB / 1.527 GB, free: 3.07 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001008/1.936, allocations: 175.9 kB / 1.527 GB, free: 2.898 MB / 1.248 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.001543/1.938, allocations: 332.2 kB / 1.527 GB, free: 2.566 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002038/1.94, allocations: 477.5 kB / 1.528 GB, free: 2.094 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01576/1.955, allocations: 3.314 MB / 1.531 GB, free: 14.75 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.83e-05/1.955, allocations: 7.969 kB / 1.531 GB, free: 14.75 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/1.955, allocations: 0 / 1.531 GB, free: 14.75 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003513/1.959, allocations: 0.787 MB / 1.532 GB, free: 13.93 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001703/1.961, allocations: 24 kB / 1.532 GB, free: 13.91 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00526/1.966, allocations: 155.8 kB / 1.532 GB, free: 13.76 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004728/1.966, allocations: 117.1 kB / 1.532 GB, free: 13.64 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01343/1.98, allocations: 2.554 MB / 1.535 GB, free: 11.07 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0164/1.996, allocations: 3.91 MB / 1.538 GB, free: 7.133 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004585/2.001, allocations: 0.9784 MB / 1.539 GB, free: 6.156 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.01204/2.013, allocations: 3.628 MB / 1.543 GB, free: 2.531 MB / 1.264 GB Notification: Performance of Backend: time 3.336e-06/2.013, allocations: 0 / 1.543 GB, free: 2.531 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.03228/2.045, allocations: 8.02 MB / 1.551 GB, free: 10.46 MB / 1.279 GB Notification: Performance of SimCode: time 1.085/3.13, allocations: 10.67 MB / 1.561 GB, free: 332.7 MB / 1.279 GB Notification: Performance of Templates: time 0.3749/3.505, allocations: 122.1 MB / 1.68 GB, free: 239.1 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_PumpCurveConstruction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches