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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001587/0.001587, allocations: 105.5 kB / 16.27 MB, free: 6.414 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.001577/0.001577, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.382/1.382, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.709/2.709, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 67.97 kB / 0.9245 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7269/0.7288, allocations: 162.2 MB / 1.083 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1154/0.8442, allocations: 104.1 MB / 1.185 GB, free: 3.617 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.05642/0.9007, allocations: 34.87 MB / 1.219 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006365/0.9071, allocations: 159.1 kB / 1.219 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.03368/0.9408, allocations: 19.8 MB / 1.238 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01541/0.9562, allocations: 5.228 MB / 1.243 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01094/0.9672, allocations: 3.956 MB / 1.247 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.04632/1.014, allocations: 29.96 MB / 1.276 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007242/1.021, allocations: 3.539 MB / 1.28 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01066/1.031, allocations: 4.123 MB / 1.284 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0077/1.039, allocations: 3.17 MB / 1.287 GB, free: 13.57 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002023/1.041, allocations: 432 kB / 1.287 GB, free: 13.15 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008154/1.049, allocations: 2.89 MB / 1.29 GB, free: 10.26 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003039/1.053, allocations: 1.826 MB / 1.292 GB, free: 8.43 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.006153/1.059, allocations: 2.934 MB / 1.295 GB, free: 5.48 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01493/1.074, allocations: 8.524 MB / 1.303 GB, free: 12.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.074, allocations: 0 / 1.303 GB, free: 12.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.473e-06/1.074, allocations: 0 / 1.303 GB, free: 12.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002172/1.074, allocations: 0 / 1.303 GB, free: 12.93 MB / 1.029 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.01331/1.087, allocations: 6.152 MB / 1.309 GB, free: 6.664 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/1.087, allocations: 15.97 kB / 1.309 GB, free: 6.648 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/1.098, allocations: 1.889 MB / 1.311 GB, free: 4.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01709/1.116, allocations: 6.924 MB / 1.318 GB, free: 13.76 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003374/1.116, allocations: 201.2 kB / 1.318 GB, free: 13.56 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007683/1.117, allocations: 244 kB / 1.318 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007134/1.124, allocations: 3.231 MB / 1.321 GB, free: 9.945 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.683e-05/1.124, allocations: 0 / 1.321 GB, free: 9.945 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002527/1.124, allocations: 88 kB / 1.321 GB, free: 9.859 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-05/1.124, allocations: 52 kB / 1.321 GB, free: 9.809 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007086/1.131, allocations: 2.623 MB / 1.324 GB, free: 7.168 MB / 1.045 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.0261/1.158, allocations: 15.44 MB / 1.339 GB, free: 6.707 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006384/1.164, allocations: 2.289 MB / 1.341 GB, free: 4.418 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002683/1.167, allocations: 1.004 MB / 1.342 GB, free: 3.406 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009149/1.176, allocations: 4.96 MB / 1.347 GB, free: 14.16 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/1.176, allocations: 51.56 kB / 1.347 GB, free: 14.1 MB / 1.076 GB Notification: Performance of pre-optimization done (n=112): time 4.939e-06/1.176, allocations: 0 / 1.347 GB, free: 14.1 MB / 1.076 GB Notification: Performance of matching and sorting (n=112): time 0.01249/1.188, allocations: 3.988 MB / 1.351 GB, free: 10.01 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/1.188, allocations: 68.34 kB / 1.351 GB, free: 9.934 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008925/1.197, allocations: 5.383 MB / 1.356 GB, free: 4.539 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0005432/1.198, allocations: 65.7 kB / 1.356 GB, free: 4.469 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.002366/1.2, allocations: 2.196 MB / 1.359 GB, free: 2.254 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007048/1.201, allocations: 410.3 kB / 1.359 GB, free: 1.848 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00142/1.203, allocations: 0.8721 MB / 1.36 GB, free: 0.9688 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.203, allocations: 301.1 kB / 1.36 GB, free: 0.6719 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004971/1.208, allocations: 2.633 MB / 1.363 GB, free: 14.03 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006077/1.214, allocations: 3.467 MB / 1.366 GB, free: 10.25 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/1.224, allocations: 5.606 MB / 1.372 GB, free: 4.383 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.908e-05/1.224, allocations: 4 kB / 1.372 GB, free: 4.379 MB / 1.092 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01466/1.239, allocations: 7.077 MB / 1.378 GB, free: 13.25 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/1.239, allocations: 15.94 kB / 1.378 GB, free: 13.24 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.251e-05/1.239, allocations: 16 kB / 1.379 GB, free: 13.22 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001774/1.241, allocations: 0.7146 MB / 1.379 GB, free: 12.5 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003095/1.244, allocations: 0.6708 MB / 1.38 GB, free: 11.82 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002653/1.247, allocations: 2.725 MB / 1.383 GB, free: 8.996 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004047/1.251, allocations: 459.2 kB / 1.383 GB, free: 8.543 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005137/1.251, allocations: 203.9 kB / 1.383 GB, free: 8.344 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006218/1.258, allocations: 3.255 MB / 1.386 GB, free: 5.082 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005159/1.263, allocations: 3.041 MB / 1.389 GB, free: 1.715 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008861/1.272, allocations: 4.751 MB / 1.394 GB, free: 12.71 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.696e-05/1.272, allocations: 4 kB / 1.394 GB, free: 12.7 MB / 1.123 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01346/1.285, allocations: 6.26 MB / 1.4 GB, free: 6.402 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/1.285, allocations: 12 kB / 1.4 GB, free: 6.391 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/1.285, allocations: 16 kB / 1.4 GB, free: 6.375 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002573/1.288, allocations: 0.8084 MB / 1.401 GB, free: 5.555 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002801/1.291, allocations: 0.6396 MB / 1.402 GB, free: 4.914 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01937/1.31, allocations: 13.72 MB / 1.415 GB, free: 6.504 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004337/1.314, allocations: 364.2 kB / 1.415 GB, free: 6.148 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005893/1.315, allocations: 183.9 kB / 1.415 GB, free: 5.969 MB / 1.139 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.0008111/1.316, allocations: 339.4 kB / 1.416 GB, free: 5.629 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001217/1.317, allocations: 473.7 kB / 1.416 GB, free: 5.16 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009289/1.326, allocations: 3.329 MB / 1.419 GB, free: 1.805 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.061e-05/1.326, allocations: 19.98 kB / 1.419 GB, free: 1.785 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.326, allocations: 3.938 kB / 1.419 GB, free: 1.781 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-05/1.326, allocations: 3.984 kB / 1.419 GB, free: 1.777 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/1.341, allocations: 6.15 MB / 1.425 GB, free: 11.54 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/1.341, allocations: 0 / 1.425 GB, free: 11.54 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001872/1.343, allocations: 303.7 kB / 1.426 GB, free: 11.24 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/1.344, allocations: 390.9 kB / 1.426 GB, free: 10.85 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/1.344, allocations: 55.88 kB / 1.426 GB, free: 10.79 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002267/1.347, allocations: 2.619 MB / 1.429 GB, free: 8.07 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.347, allocations: 0 / 1.429 GB, free: 8.07 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008225/1.355, allocations: 3.072 MB / 1.432 GB, free: 4.953 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001995/1.357, allocations: 0.7676 MB / 1.433 GB, free: 4.16 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006508/1.357, allocations: 27.94 kB / 1.433 GB, free: 4.133 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002217/1.36, allocations: 143.8 kB / 1.433 GB, free: 3.992 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/1.36, allocations: 93.17 kB / 1.433 GB, free: 3.902 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001832/1.36, allocations: 87.92 kB / 1.433 GB, free: 3.816 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.006086/1.366, allocations: 3.553 MB / 1.436 GB, free: 272 kB / 1.154 GB Notification: Performance of sort global known variables: time 3.8e-07/1.366, allocations: 4 kB / 1.436 GB, free: 268 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.007832/1.374, allocations: 2.316 MB / 1.439 GB, free: 13.94 MB / 1.17 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.002332/1.376, allocations: 0.9084 MB / 1.439 GB, free: 13.04 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0177/1.394, allocations: 7.946 MB / 1.447 GB, free: 5.035 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/1.394, allocations: 3.984 kB / 1.447 GB, free: 5.031 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003393/1.398, allocations: 1.167 MB / 1.448 GB, free: 3.863 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01048/1.408, allocations: 2.431 MB / 1.451 GB, free: 1.516 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01863/1.427, allocations: 8.722 MB / 1.459 GB, free: 8.746 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00328/1.43, allocations: 2.824 MB / 1.462 GB, free: 5.891 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001789/1.432, allocations: 391.2 kB / 1.462 GB, free: 5.508 MB / 1.186 GB Notification: Performance of SimCode: time 1.513e-06/1.432, allocations: 4 kB / 1.462 GB, free: 5.504 MB / 1.186 GB Notification: Performance of Templates: time 0.647/2.079, allocations: 170.9 MB / 1.629 GB, free: 375 MB / 1.264 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=400 -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