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.001361/0.001361, allocations: 108.6 kB / 16.41 MB, free: 6.008 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.001448/0.001448, allocations: 183.7 kB / 17.34 MB, free: 5.629 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.468/2.468, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 63.91 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8554/0.8568, allocations: 151.6 MB / 1.167 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.104/0.9609, allocations: 104.1 MB / 1.269 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.05287/1.014, allocations: 34.92 MB / 1.303 GB, free: 8.398 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008188/1.022, allocations: 163.1 kB / 1.303 GB, free: 8.238 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.009936/1.032, allocations: 2.923 MB / 1.306 GB, free: 5.301 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01673/1.049, allocations: 5.689 MB / 1.312 GB, free: 15.59 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.01169/1.06, allocations: 4.052 MB / 1.316 GB, free: 11.55 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.04916/1.11, allocations: 31.55 MB / 1.346 GB, free: 11.96 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008627/1.118, allocations: 3.672 MB / 1.35 GB, free: 8.219 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01481/1.133, allocations: 4.36 MB / 1.354 GB, free: 3.855 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007289/1.14, allocations: 3.37 MB / 1.358 GB, free: 484 kB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.002367/1.143, allocations: 460 kB / 1.358 GB, free: 24 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008634/1.152, allocations: 2.944 MB / 1.361 GB, free: 13.07 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00366/1.155, allocations: 1.869 MB / 1.363 GB, free: 11.2 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.007231/1.163, allocations: 2.985 MB / 1.366 GB, free: 8.199 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01734/1.18, allocations: 8.785 MB / 1.374 GB, free: 15.39 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/1.18, allocations: 0 / 1.374 GB, free: 15.39 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.195e-06/1.18, allocations: 4 kB / 1.374 GB, free: 15.38 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003282/1.18, allocations: 0 / 1.374 GB, free: 15.38 MB / 1.107 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.01833/1.199, allocations: 6.269 MB / 1.38 GB, free: 9 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/1.199, allocations: 8.922 kB / 1.38 GB, free: 8.992 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/1.211, allocations: 1.889 MB / 1.382 GB, free: 7.094 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01969/1.23, allocations: 7.283 MB / 1.389 GB, free: 15.74 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002691/1.231, allocations: 180.2 kB / 1.389 GB, free: 15.56 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008941/1.232, allocations: 244 kB / 1.39 GB, free: 15.32 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006559/1.238, allocations: 3.229 MB / 1.393 GB, free: 11.95 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.26e-05/1.238, allocations: 4 kB / 1.393 GB, free: 11.95 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002464/1.238, allocations: 88 kB / 1.393 GB, free: 11.86 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.858e-05/1.238, allocations: 55.94 kB / 1.393 GB, free: 11.8 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006839/1.245, allocations: 2.6 MB / 1.396 GB, free: 9.188 MB / 1.123 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.02551/1.271, allocations: 14.86 MB / 1.41 GB, free: 9.418 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00588/1.277, allocations: 2.274 MB / 1.412 GB, free: 7.137 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002533/1.279, allocations: 1.001 MB / 1.413 GB, free: 6.137 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01015/1.29, allocations: 4.995 MB / 1.418 GB, free: 0.8516 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/1.29, allocations: 43.56 kB / 1.418 GB, free: 0.8008 MB / 1.139 GB Notification: Performance of pre-optimization done (n=112): time 4.198e-06/1.29, allocations: 0 / 1.418 GB, free: 0.8008 MB / 1.139 GB Notification: Performance of matching and sorting (n=112): time 0.01201/1.302, allocations: 3.941 MB / 1.422 GB, free: 12.76 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/1.302, allocations: 68.41 kB / 1.422 GB, free: 12.68 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009343/1.311, allocations: 5.478 MB / 1.427 GB, free: 7.191 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.000623/1.312, allocations: 61.7 kB / 1.427 GB, free: 7.125 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.002253/1.314, allocations: 2.223 MB / 1.43 GB, free: 4.883 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007634/1.315, allocations: 410.3 kB / 1.43 GB, free: 4.477 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001423/1.316, allocations: 0.876 MB / 1.431 GB, free: 3.594 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001068/1.316, allocations: 309.1 kB / 1.431 GB, free: 3.289 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004386/1.321, allocations: 2.621 MB / 1.434 GB, free: 0.6602 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005257/1.326, allocations: 3.459 MB / 1.437 GB, free: 12.88 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009311/1.335, allocations: 5.586 MB / 1.443 GB, free: 7.039 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.018e-05/1.335, allocations: 4 kB / 1.443 GB, free: 7.035 MB / 1.17 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01322/1.349, allocations: 7.062 MB / 1.449 GB, free: 15.93 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/1.349, allocations: 15.94 kB / 1.449 GB, free: 15.91 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-05/1.349, allocations: 16 kB / 1.45 GB, free: 15.89 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001746/1.351, allocations: 0.722 MB / 1.45 GB, free: 15.16 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003061/1.354, allocations: 0.6592 MB / 1.451 GB, free: 14.5 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00251/1.356, allocations: 2.729 MB / 1.454 GB, free: 11.66 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004917/1.361, allocations: 437.4 kB / 1.454 GB, free: 11.23 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006407/1.362, allocations: 211.9 kB / 1.454 GB, free: 11.03 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005969/1.368, allocations: 3.251 MB / 1.457 GB, free: 7.77 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004437/1.372, allocations: 3.022 MB / 1.46 GB, free: 4.43 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007784/1.38, allocations: 4.728 MB / 1.465 GB, free: 15.45 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.017e-05/1.38, allocations: 4 kB / 1.465 GB, free: 15.44 MB / 1.201 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01267/1.393, allocations: 6.229 MB / 1.471 GB, free: 9.168 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/1.393, allocations: 12 kB / 1.471 GB, free: 9.156 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.198e-05/1.393, allocations: 20 kB / 1.471 GB, free: 9.137 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002723/1.396, allocations: 0.804 MB / 1.472 GB, free: 8.32 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002998/1.399, allocations: 0.6318 MB / 1.472 GB, free: 7.688 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01818/1.417, allocations: 13.64 MB / 1.486 GB, free: 9.379 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004901/1.422, allocations: 362.2 kB / 1.486 GB, free: 9.027 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006285/1.422, allocations: 179.9 kB / 1.486 GB, free: 8.852 MB / 1.217 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.0008078/1.423, allocations: 327.8 kB / 1.487 GB, free: 8.523 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/1.424, allocations: 477.5 kB / 1.487 GB, free: 8.051 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0082/1.433, allocations: 3.314 MB / 1.49 GB, free: 4.711 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.664e-05/1.433, allocations: 15.98 kB / 1.49 GB, free: 4.695 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.433, allocations: 4 kB / 1.49 GB, free: 4.691 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/1.433, allocations: 3.984 kB / 1.49 GB, free: 4.688 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/1.446, allocations: 6.173 MB / 1.496 GB, free: 14.43 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/1.447, allocations: 0 / 1.496 GB, free: 14.43 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001767/1.448, allocations: 307.6 kB / 1.497 GB, free: 14.12 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000981/1.449, allocations: 371 kB / 1.497 GB, free: 13.75 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001684/1.449, allocations: 55.88 kB / 1.497 GB, free: 13.7 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001889/1.451, allocations: 2.619 MB / 1.5 GB, free: 10.98 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.451, allocations: 3.984 kB / 1.5 GB, free: 10.97 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00767/1.459, allocations: 3.057 MB / 1.503 GB, free: 7.871 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002596/1.462, allocations: 0.7832 MB / 1.503 GB, free: 7.062 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009965/1.463, allocations: 23.94 kB / 1.503 GB, free: 7.039 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002713/1.465, allocations: 159.6 kB / 1.503 GB, free: 6.883 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/1.466, allocations: 93.19 kB / 1.504 GB, free: 6.793 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002015/1.466, allocations: 87.92 kB / 1.504 GB, free: 6.707 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.006847/1.473, allocations: 3.628 MB / 1.507 GB, free: 3.082 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.924e-06/1.473, allocations: 0 / 1.507 GB, free: 3.082 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.008374/1.481, allocations: 2.32 MB / 1.509 GB, free: 0.7578 MB / 1.232 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.002284/1.483, allocations: 0.9214 MB / 1.51 GB, free: 15.84 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01601/1.499, allocations: 7.903 MB / 1.518 GB, free: 7.883 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.5, allocations: 4.062 kB / 1.518 GB, free: 7.879 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.003098/1.503, allocations: 1.167 MB / 1.519 GB, free: 6.711 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01047/1.513, allocations: 2.432 MB / 1.522 GB, free: 4.34 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/1.53, allocations: 8.475 MB / 1.53 GB, free: 11.82 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00288/1.533, allocations: 2.829 MB / 1.533 GB, free: 8.961 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001817/1.534, allocations: 399.2 kB / 1.533 GB, free: 8.57 MB / 1.264 GB Notification: Performance of SimCode: time 7.32e-07/1.534, allocations: 0 / 1.533 GB, free: 8.57 MB / 1.264 GB Notification: Performance of Templates: time 0.8541/2.389, allocations: 172.2 MB / 1.701 GB, free: 241.2 MB / 1.279 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches