Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsParallel.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.Examples.PumpsParallel,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.PumpsParallel") translateModel(Buildings.Fluid.Movers.Examples.PumpsParallel,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.PumpsParallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006859/0.006859, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001537/0.001537, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.549/2.549, allocations: 472.6 MB / 0.7453 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 59.91 kB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9385/0.9398, allocations: 159.9 MB / 1.226 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsParallel): time 0.06173/1.002, allocations: 67.89 MB / 1.292 GB, free: 9.477 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02872/1.03, allocations: 21.43 MB / 1.313 GB, free: 3.992 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003553/1.034, allocations: 95.44 kB / 1.313 GB, free: 3.898 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.006024/1.04, allocations: 2.143 MB / 1.315 GB, free: 1.746 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.009104/1.049, allocations: 3.506 MB / 1.318 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005782/1.055, allocations: 2.494 MB / 1.321 GB, free: 11.74 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02277/1.078, allocations: 15.79 MB / 1.336 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004476/1.082, allocations: 2.283 MB / 1.339 GB, free: 9.578 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006362/1.088, allocations: 2.602 MB / 1.341 GB, free: 6.973 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003676/1.092, allocations: 1.992 MB / 1.343 GB, free: 4.973 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001009/1.093, allocations: 260 kB / 1.343 GB, free: 4.719 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005198/1.098, allocations: 2.145 MB / 1.345 GB, free: 2.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001449/1.1, allocations: 1.016 MB / 1.346 GB, free: 1.551 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003361/1.103, allocations: 1.687 MB / 1.348 GB, free: 15.85 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01031/1.114, allocations: 5.219 MB / 1.353 GB, free: 10.62 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/1.114, allocations: 0 / 1.353 GB, free: 10.62 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.335e-06/1.114, allocations: 0 / 1.353 GB, free: 10.62 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001874/1.114, allocations: 0 / 1.353 GB, free: 10.62 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.009706/1.124, allocations: 3.845 MB / 1.357 GB, free: 6.688 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/1.124, allocations: 11.97 kB / 1.357 GB, free: 6.676 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004446/1.128, allocations: 0.8213 MB / 1.358 GB, free: 5.852 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008255/1.136, allocations: 3.852 MB / 1.361 GB, free: 1.938 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/1.137, allocations: 118.5 kB / 1.362 GB, free: 1.82 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003151/1.137, allocations: 148 kB / 1.362 GB, free: 1.676 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003621/1.14, allocations: 1.794 MB / 1.363 GB, free: 15.81 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/1.141, allocations: 0 / 1.363 GB, free: 15.81 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/1.141, allocations: 59.94 kB / 1.363 GB, free: 15.75 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.117e-05/1.141, allocations: 54.5 kB / 1.364 GB, free: 15.7 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003337/1.144, allocations: 1.524 MB / 1.365 GB, free: 14.16 MB / 1.092 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.01222/1.156, allocations: 8.808 MB / 1.374 GB, free: 4.781 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003299/1.16, allocations: 1.282 MB / 1.375 GB, free: 3.488 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/1.161, allocations: 0.6753 MB / 1.376 GB, free: 2.812 MB / 1.092 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 evalFunc (simulation): time 0.005112/1.166, allocations: 3.109 MB / 1.379 GB, free: 15.5 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/1.166, allocations: 47.55 kB / 1.379 GB, free: 15.45 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009186/1.167, allocations: 131.2 kB / 1.379 GB, free: 15.32 MB / 1.107 GB Notification: Performance of pre-optimization done (n=86): time 2.955e-06/1.167, allocations: 0 / 1.379 GB, free: 15.32 MB / 1.107 GB Notification: Performance of matching and sorting (n=86): time 0.00715/1.174, allocations: 2.468 MB / 1.381 GB, free: 12.82 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/1.174, allocations: 60.41 kB / 1.381 GB, free: 12.75 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005129/1.18, allocations: 2.887 MB / 1.384 GB, free: 9.859 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002268/1.18, allocations: 49.7 kB / 1.384 GB, free: 9.805 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001312/1.181, allocations: 1.247 MB / 1.385 GB, free: 8.547 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004456/1.182, allocations: 345.1 kB / 1.386 GB, free: 8.207 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008948/1.182, allocations: 487.4 kB / 1.386 GB, free: 7.727 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001016/1.183, allocations: 309.1 kB / 1.386 GB, free: 7.422 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002215/1.185, allocations: 1.212 MB / 1.388 GB, free: 6.203 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002526/1.187, allocations: 1.72 MB / 1.389 GB, free: 4.281 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004376/1.192, allocations: 2.68 MB / 1.392 GB, free: 1.477 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/1.192, allocations: 0 / 1.392 GB, free: 1.477 MB / 1.107 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.006136/1.198, allocations: 3.374 MB / 1.395 GB, free: 14.09 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/1.198, allocations: 8.5 kB / 1.395 GB, free: 14.09 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/1.198, allocations: 12 kB / 1.395 GB, free: 14.07 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001315/1.199, allocations: 324.6 kB / 1.395 GB, free: 13.75 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/1.201, allocations: 383.5 kB / 1.396 GB, free: 13.38 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/1.202, allocations: 0.8619 MB / 1.397 GB, free: 12.49 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/1.204, allocations: 120.4 kB / 1.397 GB, free: 12.38 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002308/1.204, allocations: 108 kB / 1.397 GB, free: 12.27 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002867/1.207, allocations: 1.617 MB / 1.398 GB, free: 10.64 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002512/1.21, allocations: 1.521 MB / 1.4 GB, free: 8.922 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004203/1.214, allocations: 2.29 MB / 1.402 GB, free: 6.504 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.454e-05/1.214, allocations: 0 / 1.402 GB, free: 6.504 MB / 1.123 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.006642/1.221, allocations: 3.054 MB / 1.405 GB, free: 3.441 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/1.221, allocations: 8 kB / 1.405 GB, free: 3.434 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/1.221, allocations: 16.44 kB / 1.405 GB, free: 3.418 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/1.222, allocations: 320.6 kB / 1.406 GB, free: 3.102 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/1.224, allocations: 379.4 kB / 1.406 GB, free: 2.73 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007715/1.231, allocations: 4.493 MB / 1.41 GB, free: 14.02 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002667/1.234, allocations: 139.8 kB / 1.41 GB, free: 13.88 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002778/1.234, allocations: 91.91 kB / 1.41 GB, free: 13.79 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (185): * Single equations (assignments): 180 * 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 {(2,18)} Notification: Performance of prepare postOptimizeDAE: time 0.00059/1.235, allocations: 271.8 kB / 1.411 GB, free: 13.52 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008454/1.236, allocations: 282.1 kB / 1.411 GB, free: 13.24 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004954/1.241, allocations: 1.931 MB / 1.413 GB, free: 11.29 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/1.241, allocations: 11.98 kB / 1.413 GB, free: 11.28 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/1.241, allocations: 4 kB / 1.413 GB, free: 11.27 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003369/1.244, allocations: 1.504 MB / 1.414 GB, free: 9.738 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008684/1.253, allocations: 3.85 MB / 1.418 GB, free: 5.805 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/1.253, allocations: 0 / 1.418 GB, free: 5.805 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/1.254, allocations: 203.7 kB / 1.418 GB, free: 5.605 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006292/1.255, allocations: 206 kB / 1.419 GB, free: 5.402 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/1.255, allocations: 35.97 kB / 1.419 GB, free: 5.367 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007945/1.255, allocations: 0.8112 MB / 1.419 GB, free: 4.535 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.255, allocations: 7.969 kB / 1.419 GB, free: 4.527 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005797/1.261, allocations: 2.567 MB / 1.422 GB, free: 1.93 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/1.263, allocations: 491 kB / 1.422 GB, free: 1.43 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007955/1.264, allocations: 20 kB / 1.422 GB, free: 1.41 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00179/1.265, allocations: 87.84 kB / 1.422 GB, free: 1.324 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/1.265, allocations: 64.91 kB / 1.422 GB, free: 1.262 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/1.266, allocations: 55.95 kB / 1.423 GB, free: 1.207 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.004121/1.27, allocations: 1.924 MB / 1.424 GB, free: 15.29 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.8e-07/1.27, allocations: 0 / 1.424 GB, free: 15.29 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.005507/1.275, allocations: 1.513 MB / 1.426 GB, free: 13.77 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (floMac1.vol.dynBal.U,floMac1.filter.s[1],floMac1.filter.s[2],floMac2.vol.dynBal.U,floMac2.filter.s[1],floMac2.filter.s[2]) * 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 (85): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00228/1.278, allocations: 0.8018 MB / 1.427 GB, free: 12.97 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.007866/1.285, allocations: 3.906 MB / 1.431 GB, free: 9.055 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/1.285, allocations: 1.5 kB / 1.431 GB, free: 9.055 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/1.287, allocations: 0.7034 MB / 1.431 GB, free: 8.348 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006324/1.294, allocations: 1.36 MB / 1.433 GB, free: 7.035 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009543/1.303, allocations: 4.909 MB / 1.437 GB, free: 2.09 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002489/1.306, allocations: 1.896 MB / 1.439 GB, free: 168 kB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003503/1.309, allocations: 0.7399 MB / 1.44 GB, free: 15.41 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008898/1.31, allocations: 227.2 kB / 1.44 GB, free: 15.2 MB / 1.17 GB Notification: Performance of SimCode: time 1.112e-06/1.31, allocations: 0 / 1.44 GB, free: 15.2 MB / 1.17 GB Notification: Performance of Templates: time 0.109/1.419, allocations: 59.89 MB / 1.499 GB, free: 3.961 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsParallel.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsParallel.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsParallel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsParallel.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsParallel.sim & ./Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsParallel.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsParallel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Examples_PumpsParallel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches