Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.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.Examples.PumpsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floMac1.y|floMac1.dp|floMac2.dp|floMac1.m_flow|floMac2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries") translateModel(Buildings.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floMac1.y|floMac1.dp|floMac2.dp|floMac1.m_flow|floMac2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001096, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.00104/0.00104, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.613/2.613, allocations: 469.4 MB / 0.7428 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 60.12 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7505/0.7518, allocations: 159.1 MB / 1.221 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.0503/0.8022, allocations: 51.48 MB / 1.271 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0256/0.8278, allocations: 18.17 MB / 1.289 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003024/0.8309, allocations: 75.62 kB / 1.289 GB, free: 12.37 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005345/0.8362, allocations: 1.928 MB / 1.291 GB, free: 10.44 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006927/0.8432, allocations: 2.819 MB / 1.294 GB, free: 7.609 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004809/0.848, allocations: 2.105 MB / 1.296 GB, free: 5.516 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01897/0.867, allocations: 14.09 MB / 1.309 GB, free: 7.406 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002817/0.8698, allocations: 1.728 MB / 1.311 GB, free: 5.641 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004312/0.8741, allocations: 1.974 MB / 1.313 GB, free: 3.664 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002367/0.8765, allocations: 1.518 MB / 1.315 GB, free: 2.141 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0006153/0.8771, allocations: 215.9 kB / 1.315 GB, free: 1.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003756/0.8809, allocations: 1.899 MB / 1.317 GB, free: 28 kB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.8819, allocations: 0.8957 MB / 1.317 GB, free: 15.13 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001874/0.8838, allocations: 1.391 MB / 1.319 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005848/0.8897, allocations: 4.44 MB / 1.323 GB, free: 9.277 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8897, allocations: 0 / 1.323 GB, free: 9.277 MB / 1.045 GB Notification: Performance of FrontEnd: time 6.562e-06/0.8897, allocations: 4 kB / 1.323 GB, free: 9.273 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.033e-05/0.8898, allocations: 0 / 1.323 GB, free: 9.273 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.005223/0.895, allocations: 3.156 MB / 1.326 GB, free: 6.043 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.895, allocations: 11.97 kB / 1.326 GB, free: 6.031 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005323/0.9004, allocations: 0.9292 MB / 1.327 GB, free: 5.098 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007205/0.9076, allocations: 3.515 MB / 1.331 GB, free: 1.512 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.07e-05/0.9077, allocations: 85.94 kB / 1.331 GB, free: 1.43 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/0.9079, allocations: 120 kB / 1.331 GB, free: 1.312 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002816/0.9107, allocations: 1.478 MB / 1.332 GB, free: 15.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.9107, allocations: 3.938 kB / 1.332 GB, free: 15.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.9109, allocations: 40 kB / 1.332 GB, free: 15.73 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-05/0.9109, allocations: 42 kB / 1.332 GB, free: 15.68 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003094/0.914, allocations: 1.316 MB / 1.334 GB, free: 14.37 MB / 1.061 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.009084/0.9231, allocations: 6.958 MB / 1.34 GB, free: 7.031 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003037/0.9262, allocations: 1.134 MB / 1.341 GB, free: 5.871 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.9274, allocations: 0.4905 MB / 1.342 GB, free: 5.379 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004259/0.9317, allocations: 2.727 MB / 1.345 GB, free: 2.438 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.9317, allocations: 43.12 kB / 1.345 GB, free: 2.387 MB / 1.061 GB Notification: Performance of pre-optimization done (n=60): time 2.354e-06/0.9317, allocations: 0 / 1.345 GB, free: 2.387 MB / 1.061 GB Notification: Performance of matching and sorting (n=60): time 0.005108/0.9369, allocations: 1.724 MB / 1.346 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.9369, allocations: 55.97 kB / 1.346 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004112/0.941, allocations: 2.591 MB / 1.349 GB, free: 13.96 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001351/0.9412, allocations: 45.61 kB / 1.349 GB, free: 13.91 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009681/0.9422, allocations: 1.017 MB / 1.35 GB, free: 12.88 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/0.9424, allocations: 220.9 kB / 1.35 GB, free: 12.66 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007266/0.9432, allocations: 439.1 kB / 1.351 GB, free: 12.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.9433, allocations: 301.1 kB / 1.351 GB, free: 11.93 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002071/0.9454, allocations: 1.149 MB / 1.352 GB, free: 10.78 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002516/0.9479, allocations: 1.534 MB / 1.354 GB, free: 9.102 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0041/0.952, allocations: 2.465 MB / 1.356 GB, free: 6.523 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.952, allocations: 4 kB / 1.356 GB, free: 6.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.005494/0.9575, allocations: 3.053 MB / 1.359 GB, free: 3.449 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.9576, allocations: 16.56 kB / 1.359 GB, free: 3.434 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.9576, allocations: 12 kB / 1.359 GB, free: 3.422 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005153/0.9581, allocations: 144.8 kB / 1.359 GB, free: 3.277 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.9596, allocations: 355.5 kB / 1.359 GB, free: 2.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006252/0.9603, allocations: 0.6693 MB / 1.36 GB, free: 2.234 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.9621, allocations: 222 kB / 1.36 GB, free: 2.016 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000179/0.9623, allocations: 103.9 kB / 1.36 GB, free: 1.914 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002557/0.9649, allocations: 1.503 MB / 1.362 GB, free: 416 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002045/0.9669, allocations: 1.35 MB / 1.363 GB, free: 14.91 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003441/0.9704, allocations: 2.086 MB / 1.365 GB, free: 12.71 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.675e-06/0.9704, allocations: 4 kB / 1.365 GB, free: 12.71 MB / 1.092 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.00526/0.9757, allocations: 2.705 MB / 1.368 GB, free: 9.992 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.9757, allocations: 14.33 kB / 1.368 GB, free: 9.98 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.9757, allocations: 8 kB / 1.368 GB, free: 9.973 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009378/0.9767, allocations: 212.9 kB / 1.368 GB, free: 9.762 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.978, allocations: 347.5 kB / 1.368 GB, free: 9.422 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005927/0.984, allocations: 3.497 MB / 1.372 GB, free: 5.719 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/0.9857, allocations: 170.9 kB / 1.372 GB, free: 5.551 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.9859, allocations: 87.97 kB / 1.372 GB, free: 5.465 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (167): * Single equations (assignments): 162 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003791/0.9863, allocations: 255.8 kB / 1.372 GB, free: 5.207 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004547/0.9868, allocations: 232.9 kB / 1.373 GB, free: 4.977 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004055/0.9908, allocations: 1.567 MB / 1.374 GB, free: 3.391 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.9909, allocations: 3.984 kB / 1.374 GB, free: 3.387 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.9909, allocations: 0 / 1.374 GB, free: 3.387 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008961/0.9918, allocations: 433.6 kB / 1.374 GB, free: 2.941 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003569/0.9921, allocations: 19.92 kB / 1.374 GB, free: 2.922 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.9934, allocations: 79.92 kB / 1.375 GB, free: 2.844 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.9935, allocations: 56.52 kB / 1.375 GB, free: 2.789 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003776/0.9973, allocations: 1.317 MB / 1.376 GB, free: 1.461 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004468/1.002, allocations: 2.053 MB / 1.378 GB, free: 15.39 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001237/1.003, allocations: 0.5047 MB / 1.378 GB, free: 14.89 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002964/1.006, allocations: 1.731 MB / 1.38 GB, free: 13.15 MB / 1.107 GB Notification: Performance of Backend: time 6.71e-07/1.006, allocations: 0 / 1.38 GB, free: 13.15 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.008074/1.014, allocations: 3.779 MB / 1.384 GB, free: 9.367 MB / 1.107 GB Notification: Performance of SimCode: time 0.009214/1.023, allocations: 5.306 MB / 1.389 GB, free: 4.051 MB / 1.107 GB Notification: Performance of Templates: time 0.09143/1.115, allocations: 59.63 MB / 1.447 GB, free: 8.961 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches