Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001234/0.001234, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001278/0.001278, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.303/2.303, allocations: 390.3 MB / 0.6653 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003426, allocations: 8 kB / 0.8145 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7547/0.7551, allocations: 142.3 MB / 0.9535 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.04216/0.7973, allocations: 42.59 MB / 0.9951 GB, free: 5.469 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02213/0.8195, allocations: 14.05 MB / 1.009 GB, free: 7.398 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003794/0.8233, allocations: 59.56 kB / 1.009 GB, free: 7.34 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003083/0.8264, allocations: 0.8396 MB / 1.01 GB, free: 6.496 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.008906/0.8353, allocations: 2.392 MB / 1.012 GB, free: 4.098 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005601/0.841, allocations: 1.927 MB / 1.014 GB, free: 2.195 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.007939/0.8489, allocations: 2.665 MB / 1.017 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002625/0.8516, allocations: 1.258 MB / 1.018 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003661/0.8552, allocations: 1.312 MB / 1.019 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.8568, allocations: 0.875 MB / 1.02 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002175/0.857, allocations: 68 kB / 1.02 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002806/0.8598, allocations: 1.112 MB / 1.021 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005568/0.8604, allocations: 446.4 kB / 1.021 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005858/0.861, allocations: 392.7 kB / 1.022 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00341/0.8644, allocations: 2.467 MB / 1.024 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.8644, allocations: 0 / 1.024 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8645, allocations: 4 kB / 1.024 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.064e-05/0.8645, allocations: 0 / 1.024 GB, free: 7.559 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004335/0.8689, allocations: 2.05 MB / 1.026 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.8689, allocations: 8.031 kB / 1.026 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004417/0.8733, allocations: 0.7936 MB / 1.027 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004972/0.8783, allocations: 1.875 MB / 1.029 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.826e-05/0.8785, allocations: 90.27 kB / 1.029 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002473/0.8787, allocations: 104 kB / 1.029 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002533/0.8812, allocations: 1.269 MB / 1.03 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.8813, allocations: 0 / 1.03 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.8814, allocations: 44 kB / 1.03 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.362e-05/0.8815, allocations: 38 kB / 1.03 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002621/0.8841, allocations: 1.034 MB / 1.031 GB, free: 112 kB / 0.7794 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.00906/0.8932, allocations: 5.764 MB / 1.037 GB, free: 9.973 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00253/0.8957, allocations: 0.9085 MB / 1.038 GB, free: 9.039 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003881/0.8996, allocations: 2.235 MB / 1.04 GB, free: 6.594 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.8997, allocations: 35.12 kB / 1.04 GB, free: 6.551 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006529/0.9003, allocations: 119.2 kB / 1.04 GB, free: 6.434 MB / 0.795 GB Notification: Performance of pre-optimization done (n=59): time 4.949e-06/0.9004, allocations: 0 / 1.04 GB, free: 6.434 MB / 0.795 GB Notification: Performance of matching and sorting (n=59): time 0.004177/0.9045, allocations: 1.354 MB / 1.042 GB, free: 5.051 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.9046, allocations: 55.97 kB / 1.042 GB, free: 4.98 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/0.9074, allocations: 1.488 MB / 1.043 GB, free: 3.492 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001522/0.9075, allocations: 37.7 kB / 1.043 GB, free: 3.449 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008631/0.9084, allocations: 0.7912 MB / 1.044 GB, free: 2.648 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/0.9087, allocations: 209 kB / 1.044 GB, free: 2.441 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-05/0.9088, allocations: 16 kB / 1.044 GB, free: 2.426 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.9089, allocations: 345.9 kB / 1.044 GB, free: 2.082 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.91, allocations: 381.8 kB / 1.045 GB, free: 1.711 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.9112, allocations: 0.6828 MB / 1.045 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.9124, allocations: 454.9 kB / 1.046 GB, free: 464 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.916e-06/0.9125, allocations: 4 kB / 1.046 GB, free: 460 kB / 0.795 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003243/0.9157, allocations: 1.277 MB / 1.047 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.00179/0.9175, allocations: 3.337 MB / 1.05 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.9175, allocations: 8 kB / 1.05 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005013/0.9181, allocations: 104.8 kB / 1.05 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.9192, allocations: 251.6 kB / 1.051 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000726/0.9199, allocations: 0.6615 MB / 1.051 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.9214, allocations: 107.9 kB / 1.051 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/0.9215, allocations: 59.97 kB / 1.052 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.9216, allocations: 4.094 kB / 1.052 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003015/0.9246, allocations: 1.18 MB / 1.053 GB, free: 9.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.9246, allocations: 8 kB / 1.053 GB, free: 9.133 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009275/0.9255, allocations: 216.9 kB / 1.053 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009973/0.9266, allocations: 239.7 kB / 1.053 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006423/0.933, allocations: 3.356 MB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.935, allocations: 91.98 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002735/0.9353, allocations: 59.97 kB / 1.057 GB, free: 4.957 MB / 0.8106 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 (102): * Single equations (assignments): 99 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001643/0.9369, allocations: 484.7 kB / 1.057 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006447/0.9376, allocations: 169.9 kB / 1.057 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004012/0.9416, allocations: 1.31 MB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/0.9416, allocations: 11.95 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.9416, allocations: 0 / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.9417, allocations: 3.984 kB / 1.058 GB, free: 2.969 MB / 0.8106 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 postOpt removeSimpleEquations (simulation): time 0.006083/0.9477, allocations: 2.615 MB / 1.061 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.9478, allocations: 0 / 1.061 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008134/0.9486, allocations: 155.9 kB / 1.061 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003999/0.949, allocations: 100.7 kB / 1.061 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.609e-05/0.9491, allocations: 32.06 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005963/0.9497, allocations: 0.642 MB / 1.062 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/0.9497, allocations: 7.984 kB / 1.062 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004021/0.9538, allocations: 1.742 MB / 1.064 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008279/0.9546, allocations: 350.8 kB / 1.064 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003402/0.955, allocations: 12 kB / 1.064 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.9562, allocations: 103.8 kB / 1.064 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.9563, allocations: 48.5 kB / 1.064 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-05/0.9564, allocations: 35.91 kB / 1.064 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00193/0.9583, allocations: 1.008 MB / 1.065 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9583, allocations: 0 / 1.065 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003391/0.9617, allocations: 0.9123 MB / 1.066 GB, free: 11.03 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.s[1],floMac1.filter.s[2],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 (66): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001605/0.9633, allocations: 0.5446 MB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004524/0.9679, allocations: 1.705 MB / 1.068 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.9679, allocations: 0 / 1.068 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.9691, allocations: 472.1 kB / 1.069 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00348/0.9726, allocations: 0.7117 MB / 1.069 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006153/0.9787, allocations: 3.39 MB / 1.073 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/0.98, allocations: 1.403 MB / 1.074 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002202/0.9823, allocations: 445.1 kB / 1.074 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004756/0.9828, allocations: 139.4 kB / 1.075 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of SimCode: time 1.223e-06/0.9828, allocations: 0 / 1.075 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of Templates: time 0.0601/1.043, allocations: 34.31 MB / 1.108 GB, free: 256 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","../files/Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches