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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001557/0.001557, allocations: 105.5 kB / 16.35 MB, free: 5.824 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.001717/0.001717, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.396/1.396, 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 10.1.0-maint.10.0.x/package.mo): time 2.388/2.388, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.00127, allocations: 64.09 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3024, allocations: 151.6 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.6304/0.9328, allocations: 104.1 MB / 1.12 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.05532/0.9882, allocations: 34.94 MB / 1.155 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008394/0.9966, allocations: 159.8 kB / 1.155 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.03415/1.031, allocations: 18.54 MB / 1.173 GB, free: 5.605 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01793/1.049, allocations: 5.284 MB / 1.178 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.01198/1.061, allocations: 4.008 MB / 1.182 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.04643/1.107, allocations: 31.08 MB / 1.212 GB, free: 3.109 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007283/1.115, allocations: 3.555 MB / 1.216 GB, free: 15.49 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01069/1.125, allocations: 4.133 MB / 1.22 GB, free: 11.35 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006505/1.132, allocations: 3.257 MB / 1.223 GB, free: 8.082 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001578/1.133, allocations: 428 kB / 1.223 GB, free: 7.664 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007443/1.141, allocations: 2.909 MB / 1.226 GB, free: 4.75 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.002389/1.143, allocations: 1.823 MB / 1.228 GB, free: 2.922 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.004308/1.148, allocations: 2.95 MB / 1.231 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01334/1.161, allocations: 8.606 MB / 1.239 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/1.161, allocations: 0 / 1.239 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.743e-06/1.161, allocations: 0 / 1.239 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0002507/1.161, allocations: 0 / 1.239 GB, free: 7.324 MB / 0.9356 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.01502/1.176, allocations: 6.176 MB / 1.245 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/1.176, allocations: 12.62 kB / 1.245 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01153/1.188, allocations: 1.893 MB / 1.247 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01792/1.206, allocations: 7.065 MB / 1.254 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003424/1.206, allocations: 188.2 kB / 1.254 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001083/1.207, allocations: 240 kB / 1.254 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007342/1.215, allocations: 3.227 MB / 1.258 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.558e-05/1.215, allocations: 3.938 kB / 1.258 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002631/1.215, allocations: 88 kB / 1.258 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.37e-05/1.215, allocations: 52 kB / 1.258 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00624/1.221, allocations: 2.596 MB / 1.26 GB, free: 1.438 MB / 0.9512 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.02566/1.247, allocations: 14.83 MB / 1.275 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00615/1.253, allocations: 2.273 MB / 1.277 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002461/1.256, allocations: 0.9964 MB / 1.278 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009275/1.265, allocations: 4.961 MB / 1.283 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/1.265, allocations: 47.5 kB / 1.283 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=112): time 3.587e-06/1.265, allocations: 0 / 1.283 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of matching and sorting (n=112): time 0.01146/1.277, allocations: 3.945 MB / 1.287 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/1.277, allocations: 64.41 kB / 1.287 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00923/1.286, allocations: 5.424 MB / 1.292 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006554/1.287, allocations: 57.7 kB / 1.292 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002246/1.289, allocations: 2.231 MB / 1.294 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008674/1.29, allocations: 418.3 kB / 1.295 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001489/1.291, allocations: 0.8721 MB / 1.296 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.586e-05/1.291, allocations: 301.1 kB / 1.296 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004295/1.296, allocations: 2.621 MB / 1.298 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005047/1.301, allocations: 3.467 MB / 1.302 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008982/1.31, allocations: 5.579 MB / 1.307 GB, free: 15.4 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.826e-05/1.31, allocations: 4 kB / 1.307 GB, free: 15.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01299/1.323, allocations: 7.061 MB / 1.314 GB, free: 8.289 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/1.323, allocations: 12.94 kB / 1.314 GB, free: 8.277 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.23e-05/1.323, allocations: 19.94 kB / 1.314 GB, free: 8.258 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001688/1.325, allocations: 0.7177 MB / 1.315 GB, free: 7.527 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002988/1.328, allocations: 0.6669 MB / 1.316 GB, free: 6.859 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/1.33, allocations: 2.725 MB / 1.318 GB, free: 4.031 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004233/1.334, allocations: 437.7 kB / 1.319 GB, free: 3.602 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005712/1.335, allocations: 207.9 kB / 1.319 GB, free: 3.398 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00555/1.34, allocations: 3.251 MB / 1.322 GB, free: 144 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004496/1.345, allocations: 3.026 MB / 1.325 GB, free: 12.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007642/1.352, allocations: 4.72 MB / 1.33 GB, free: 7.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.511e-05/1.353, allocations: 8 kB / 1.33 GB, free: 7.812 MB / 1.029 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01207/1.365, allocations: 6.235 MB / 1.336 GB, free: 1.539 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/1.365, allocations: 16 kB / 1.336 GB, free: 1.523 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.324e-05/1.365, allocations: 16 kB / 1.336 GB, free: 1.508 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002573/1.367, allocations: 0.8004 MB / 1.336 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002786/1.37, allocations: 0.6318 MB / 1.337 GB, free: 64 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01777/1.388, allocations: 13.63 MB / 1.35 GB, free: 1.762 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005402/1.393, allocations: 346.3 kB / 1.351 GB, free: 1.422 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006496/1.394, allocations: 175.9 kB / 1.351 GB, free: 1.25 MB / 1.045 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.001015/1.395, allocations: 337.1 kB / 1.351 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001368/1.396, allocations: 473.6 kB / 1.352 GB, free: 456 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008493/1.405, allocations: 3.329 MB / 1.355 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/1.405, allocations: 19.94 kB / 1.355 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/1.405, allocations: 0 / 1.355 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/1.405, allocations: 7.969 kB / 1.355 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01336/1.418, allocations: 6.135 MB / 1.361 GB, free: 6.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/1.418, allocations: 0 / 1.361 GB, free: 6.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/1.42, allocations: 303.7 kB / 1.361 GB, free: 6.543 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/1.421, allocations: 371 kB / 1.362 GB, free: 6.168 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/1.421, allocations: 63.88 kB / 1.362 GB, free: 6.105 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001994/1.423, allocations: 2.619 MB / 1.364 GB, free: 3.383 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.423, allocations: 3.938 kB / 1.364 GB, free: 3.379 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007543/1.431, allocations: 3.061 MB / 1.367 GB, free: 280 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002405/1.433, allocations: 0.7754 MB / 1.368 GB, free: 15.47 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008309/1.434, allocations: 27.94 kB / 1.368 GB, free: 15.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002638/1.437, allocations: 147.8 kB / 1.368 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000212/1.437, allocations: 85.19 kB / 1.368 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002061/1.437, allocations: 91.92 kB / 1.368 GB, free: 15.12 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.006292/1.444, allocations: 3.569 MB / 1.372 GB, free: 11.56 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.82e-07/1.444, allocations: 4 kB / 1.372 GB, free: 11.55 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.008225/1.452, allocations: 2.324 MB / 1.374 GB, free: 9.23 MB / 1.076 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.00217/1.454, allocations: 0.8968 MB / 1.375 GB, free: 8.332 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01527/1.469, allocations: 7.923 MB / 1.383 GB, free: 368 kB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/1.469, allocations: 0 / 1.383 GB, free: 368 kB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003071/1.472, allocations: 1.167 MB / 1.384 GB, free: 15.19 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008952/1.481, allocations: 2.423 MB / 1.386 GB, free: 12.85 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/1.495, allocations: 8.336 MB / 1.394 GB, free: 4.477 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00267/1.498, allocations: 2.868 MB / 1.397 GB, free: 1.578 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.005635/1.503, allocations: 1.334 MB / 1.398 GB, free: 244 kB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001465/1.505, allocations: 379.3 kB / 1.399 GB, free: 15.86 MB / 1.107 GB Notification: Performance of SimCode: time 1.303e-06/1.505, allocations: 0 / 1.399 GB, free: 15.86 MB / 1.107 GB Notification: Performance of Templates: time 0.1615/1.666, allocations: 104.3 MB / 1.501 GB, free: 8.746 MB / 1.201 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 -s cvode -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