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.001475/0.001476, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001488/0.001488, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.541/2.541, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.91 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8985/0.8998, allocations: 157.4 MB / 1.208 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.103/1.003, allocations: 104.1 MB / 1.31 GB, free: 5.281 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.05407/1.057, allocations: 34.94 MB / 1.344 GB, free: 2.266 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007107/1.064, allocations: 159.1 kB / 1.344 GB, free: 2.109 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.009079/1.073, allocations: 2.879 MB / 1.347 GB, free: 15.22 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01591/1.089, allocations: 5.465 MB / 1.353 GB, free: 9.73 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01123/1.1, allocations: 4.056 MB / 1.356 GB, free: 5.691 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.04566/1.146, allocations: 31.54 MB / 1.387 GB, free: 6.102 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007325/1.154, allocations: 3.664 MB / 1.391 GB, free: 2.371 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01087/1.164, allocations: 4.361 MB / 1.395 GB, free: 14.01 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00684/1.171, allocations: 3.367 MB / 1.398 GB, free: 10.63 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.002246/1.174, allocations: 460 kB / 1.399 GB, free: 10.18 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008241/1.182, allocations: 2.937 MB / 1.402 GB, free: 7.238 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.003128/1.185, allocations: 1.873 MB / 1.404 GB, free: 5.359 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.006341/1.191, allocations: 2.985 MB / 1.406 GB, free: 2.359 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01561/1.207, allocations: 8.777 MB / 1.415 GB, free: 9.555 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/1.207, allocations: 0 / 1.415 GB, free: 9.555 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.523e-06/1.207, allocations: 0 / 1.415 GB, free: 9.555 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0002666/1.207, allocations: 4 kB / 1.415 GB, free: 9.551 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.0157/1.223, allocations: 6.265 MB / 1.421 GB, free: 3.168 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/1.223, allocations: 12.03 kB / 1.421 GB, free: 3.156 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/1.235, allocations: 1.893 MB / 1.423 GB, free: 1.254 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01902/1.254, allocations: 7.282 MB / 1.43 GB, free: 9.906 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000281/1.254, allocations: 188.2 kB / 1.43 GB, free: 9.719 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009602/1.255, allocations: 244 kB / 1.431 GB, free: 9.48 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008884/1.264, allocations: 3.22 MB / 1.434 GB, free: 6.117 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.975e-05/1.264, allocations: 3.938 kB / 1.434 GB, free: 6.113 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005884/1.265, allocations: 88 kB / 1.434 GB, free: 6.027 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.874e-05/1.265, allocations: 52 kB / 1.434 GB, free: 5.977 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007676/1.273, allocations: 2.604 MB / 1.436 GB, free: 3.355 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.02683/1.3, allocations: 14.85 MB / 1.451 GB, free: 3.594 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006278/1.306, allocations: 2.273 MB / 1.453 GB, free: 1.309 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002723/1.309, allocations: 0.992 MB / 1.454 GB, free: 320 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/1.319, allocations: 4.991 MB / 1.459 GB, free: 11.02 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.613e-05/1.319, allocations: 43.56 kB / 1.459 GB, free: 10.97 MB / 1.186 GB Notification: Performance of pre-optimization done (n=112): time 3.807e-06/1.319, allocations: 0 / 1.459 GB, free: 10.97 MB / 1.186 GB Notification: Performance of matching and sorting (n=112): time 0.01274/1.332, allocations: 3.949 MB / 1.463 GB, free: 6.926 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/1.332, allocations: 72.39 kB / 1.463 GB, free: 6.844 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01053/1.342, allocations: 5.475 MB / 1.468 GB, free: 1.359 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0006251/1.343, allocations: 61.7 kB / 1.468 GB, free: 1.293 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.002751/1.346, allocations: 2.227 MB / 1.47 GB, free: 15.05 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007975/1.347, allocations: 410.4 kB / 1.471 GB, free: 14.64 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002359/1.349, allocations: 0.8759 MB / 1.472 GB, free: 13.76 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.349, allocations: 305.1 kB / 1.472 GB, free: 13.46 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005172/1.354, allocations: 2.621 MB / 1.475 GB, free: 10.83 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006191/1.361, allocations: 3.459 MB / 1.478 GB, free: 7.051 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/1.371, allocations: 5.579 MB / 1.483 GB, free: 1.211 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.58e-05/1.371, allocations: 8 kB / 1.483 GB, free: 1.203 MB / 1.201 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01567/1.387, allocations: 7.062 MB / 1.49 GB, free: 10.09 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/1.387, allocations: 15.94 kB / 1.49 GB, free: 10.08 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.174e-05/1.387, allocations: 19.94 kB / 1.49 GB, free: 10.06 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001817/1.389, allocations: 0.7142 MB / 1.491 GB, free: 9.332 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003207/1.392, allocations: 0.6708 MB / 1.492 GB, free: 8.66 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002617/1.395, allocations: 2.725 MB / 1.494 GB, free: 5.832 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004748/1.399, allocations: 440.2 kB / 1.495 GB, free: 5.398 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007667/1.4, allocations: 211.9 kB / 1.495 GB, free: 5.191 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006889/1.407, allocations: 3.247 MB / 1.498 GB, free: 1.938 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005049/1.412, allocations: 3.03 MB / 1.501 GB, free: 14.59 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008036/1.42, allocations: 4.725 MB / 1.506 GB, free: 9.605 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.021e-05/1.42, allocations: 8 kB / 1.506 GB, free: 9.598 MB / 1.232 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01315/1.433, allocations: 6.229 MB / 1.512 GB, free: 3.332 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/1.433, allocations: 12 kB / 1.512 GB, free: 3.32 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.711e-05/1.434, allocations: 16 kB / 1.512 GB, free: 3.305 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002641/1.436, allocations: 0.8039 MB / 1.513 GB, free: 2.488 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002832/1.439, allocations: 0.6398 MB / 1.513 GB, free: 1.848 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01778/1.457, allocations: 13.63 MB / 1.527 GB, free: 3.555 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004468/1.461, allocations: 359.6 kB / 1.527 GB, free: 3.203 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007171/1.462, allocations: 187.9 kB / 1.527 GB, free: 3.02 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.001027/1.463, allocations: 335.8 kB / 1.527 GB, free: 2.688 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00131/1.464, allocations: 485.5 kB / 1.528 GB, free: 2.207 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008821/1.473, allocations: 3.298 MB / 1.531 GB, free: 14.88 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.051e-05/1.473, allocations: 20 kB / 1.531 GB, free: 14.86 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/1.473, allocations: 0 / 1.531 GB, free: 14.86 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.881e-05/1.473, allocations: 11.91 kB / 1.531 GB, free: 14.85 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/1.488, allocations: 6.17 MB / 1.537 GB, free: 8.594 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/1.488, allocations: 0 / 1.537 GB, free: 8.594 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001788/1.49, allocations: 303.7 kB / 1.537 GB, free: 8.297 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/1.491, allocations: 383 kB / 1.538 GB, free: 7.91 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001727/1.491, allocations: 59.88 kB / 1.538 GB, free: 7.852 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/1.493, allocations: 2.615 MB / 1.54 GB, free: 5.133 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.493, allocations: 4.062 kB / 1.54 GB, free: 5.129 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007934/1.501, allocations: 3.053 MB / 1.543 GB, free: 2.031 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002273/1.503, allocations: 0.7793 MB / 1.544 GB, free: 1.227 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001202/1.505, allocations: 31.94 kB / 1.544 GB, free: 1.195 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002955/1.508, allocations: 155.7 kB / 1.544 GB, free: 1.043 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/1.508, allocations: 89.19 kB / 1.544 GB, free: 0.957 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001961/1.508, allocations: 87.92 kB / 1.544 GB, free: 0.8711 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.007403/1.515, allocations: 3.632 MB / 1.548 GB, free: 13.24 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.713e-06/1.515, allocations: 0 / 1.548 GB, free: 13.24 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.008814/1.524, allocations: 2.328 MB / 1.55 GB, free: 10.91 MB / 1.279 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.002449/1.527, allocations: 0.8997 MB / 1.551 GB, free: 10.01 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01752/1.544, allocations: 7.907 MB / 1.559 GB, free: 2.051 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.544, allocations: 4.062 kB / 1.559 GB, free: 2.047 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.003419/1.548, allocations: 1.163 MB / 1.56 GB, free: 0.8828 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.6327/2.18, allocations: 2.43 MB / 1.562 GB, free: 335.2 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01893/2.199, allocations: 8.477 MB / 1.571 GB, free: 332.3 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0038/2.203, allocations: 2.839 MB / 1.573 GB, free: 331.2 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001944/2.205, allocations: 396.7 kB / 1.574 GB, free: 331.2 MB / 1.279 GB Notification: Performance of SimCode: time 7.82e-07/2.205, allocations: 0 / 1.574 GB, free: 331.2 MB / 1.279 GB Notification: Performance of Templates: time 0.1599/2.365, allocations: 172.2 MB / 1.742 GB, free: 176.5 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