Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001319/0.001319, allocations: 111.8 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.001239/0.001239, allocations: 189.5 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.318/1.318, 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 10.1.1-maint.10.0.x/package.mo): time 2.413/2.413, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 55.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7131/0.7143, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05257/0.767, allocations: 51.5 MB / 1.218 GB, free: 156 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02647/0.7935, allocations: 18.15 MB / 1.235 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002846/0.7963, allocations: 79.56 kB / 1.235 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005345/0.8017, allocations: 1.924 MB / 1.237 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007306/0.809, allocations: 2.831 MB / 1.24 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005098/0.8141, allocations: 2.105 MB / 1.242 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.02141/0.8356, allocations: 14.07 MB / 1.256 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003232/0.8388, allocations: 1.732 MB / 1.258 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004901/0.8437, allocations: 1.985 MB / 1.259 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002624/0.8464, allocations: 1.51 MB / 1.261 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006397/0.847, allocations: 212 kB / 1.261 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00427/0.8513, allocations: 1.899 MB / 1.263 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001058/0.8524, allocations: 0.8919 MB / 1.264 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00182/0.8542, allocations: 1.387 MB / 1.265 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005993/0.8602, allocations: 4.452 MB / 1.27 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.8602, allocations: 0 / 1.27 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8603, allocations: 3.938 kB / 1.27 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.201e-05/0.8603, allocations: 4 kB / 1.27 GB, free: 10.78 MB / 0.9981 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.005761/0.8661, allocations: 3.148 MB / 1.273 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.8661, allocations: 8.031 kB / 1.273 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005877/0.872, allocations: 0.9332 MB / 1.274 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008495/0.8805, allocations: 3.515 MB / 1.277 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.813e-05/0.8807, allocations: 89.94 kB / 1.277 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002446/0.8809, allocations: 120 kB / 1.277 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003186/0.8841, allocations: 1.482 MB / 1.279 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.8841, allocations: 0 / 1.279 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.8843, allocations: 40 kB / 1.279 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.461e-05/0.8843, allocations: 42 kB / 1.279 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003358/0.8877, allocations: 1.32 MB / 1.28 GB, free: 15.88 MB / 1.014 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.01103/0.8988, allocations: 6.95 MB / 1.287 GB, free: 8.547 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003243/0.902, allocations: 1.13 MB / 1.288 GB, free: 7.391 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.9033, allocations: 0.4944 MB / 1.288 GB, free: 6.895 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004173/0.9075, allocations: 2.719 MB / 1.291 GB, free: 3.961 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.9076, allocations: 47.06 kB / 1.291 GB, free: 3.906 MB / 1.014 GB Notification: Performance of pre-optimization done (n=60): time 2.385e-06/0.9076, allocations: 4 kB / 1.291 GB, free: 3.902 MB / 1.014 GB Notification: Performance of matching and sorting (n=60): time 0.005122/0.9127, allocations: 1.72 MB / 1.293 GB, free: 2.156 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.9127, allocations: 55.97 kB / 1.293 GB, free: 2.09 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003587/0.9163, allocations: 2.587 MB / 1.295 GB, free: 15.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001311/0.9165, allocations: 41.7 kB / 1.295 GB, free: 15.44 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008939/0.9174, allocations: 1.017 MB / 1.296 GB, free: 14.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.9176, allocations: 228.9 kB / 1.297 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005992/0.9182, allocations: 435 kB / 1.297 GB, free: 13.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.9184, allocations: 305.1 kB / 1.297 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002038/0.9204, allocations: 1.145 MB / 1.298 GB, free: 12.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002473/0.9229, allocations: 1.542 MB / 1.3 GB, free: 10.61 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004212/0.9271, allocations: 2.461 MB / 1.302 GB, free: 8.043 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.9271, allocations: 0 / 1.302 GB, free: 8.043 MB / 1.029 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.005768/0.9329, allocations: 3.049 MB / 1.305 GB, free: 4.973 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.933, allocations: 15.12 kB / 1.305 GB, free: 4.961 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/0.933, allocations: 19.97 kB / 1.305 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000517/0.9335, allocations: 140.8 kB / 1.305 GB, free: 4.801 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.9351, allocations: 367.5 kB / 1.306 GB, free: 4.441 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006472/0.9358, allocations: 0.6655 MB / 1.306 GB, free: 3.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/0.9377, allocations: 219.2 kB / 1.307 GB, free: 3.535 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/0.9379, allocations: 99.89 kB / 1.307 GB, free: 3.438 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002679/0.9406, allocations: 1.511 MB / 1.308 GB, free: 1.922 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002081/0.9427, allocations: 1.35 MB / 1.31 GB, free: 440 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00348/0.9462, allocations: 2.09 MB / 1.312 GB, free: 14.23 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.544e-06/0.9462, allocations: 4 kB / 1.312 GB, free: 14.22 MB / 1.045 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.0055/0.9517, allocations: 2.706 MB / 1.314 GB, free: 11.51 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.9517, allocations: 8 kB / 1.314 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.9517, allocations: 8 kB / 1.314 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.9528, allocations: 208.8 kB / 1.314 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.9542, allocations: 347.5 kB / 1.315 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006645/0.9609, allocations: 3.499 MB / 1.318 GB, free: 7.234 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/0.9631, allocations: 178.9 kB / 1.318 GB, free: 7.059 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/0.9632, allocations: 83.97 kB / 1.318 GB, free: 6.977 MB / 1.045 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.0004315/0.9637, allocations: 259.8 kB / 1.319 GB, free: 6.715 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003984/0.9641, allocations: 228.9 kB / 1.319 GB, free: 6.488 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004209/0.9683, allocations: 1.567 MB / 1.32 GB, free: 4.898 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.9683, allocations: 3.984 kB / 1.32 GB, free: 4.895 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.9683, allocations: 0 / 1.32 GB, free: 4.895 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008789/0.9692, allocations: 437.6 kB / 1.321 GB, free: 4.445 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002978/0.9695, allocations: 12 kB / 1.321 GB, free: 4.434 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.9707, allocations: 75.92 kB / 1.321 GB, free: 4.359 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.9709, allocations: 60.56 kB / 1.321 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003966/0.9749, allocations: 1.314 MB / 1.322 GB, free: 2.98 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004722/0.9796, allocations: 2.053 MB / 1.324 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001325/0.9809, allocations: 0.4971 MB / 1.325 GB, free: 424 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002824/0.9838, allocations: 1.738 MB / 1.327 GB, free: 14.67 MB / 1.061 GB Notification: Performance of Backend: time 6.41e-07/0.9838, allocations: 0 / 1.327 GB, free: 14.67 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.008605/0.9924, allocations: 3.782 MB / 1.33 GB, free: 10.88 MB / 1.061 GB Notification: Performance of SimCode: time 0.01006/1.002, allocations: 5.33 MB / 1.335 GB, free: 5.543 MB / 1.061 GB Notification: Performance of Templates: time 0.09989/1.102, allocations: 59.62 MB / 1.394 GB, free: 10.44 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches