Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.33/2.33, allocations: 387.1 MB / 399.7 MB, free: 9.551 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 172.9 kB / 492.3 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 221.3 MB / 0.7871 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001124, allocations: 87.91 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.145e-05/3.172e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3176, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.391/1.709, allocations: 462.5 MB / 1.664 GB, free: 0.5312 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003857/1.709, allocations: 94.62 kB / 1.664 GB, free: 496 kB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 41.68/43.39, allocations: 9.573 GB / 11.24 GB, free: 99.14 MB / 1.417 GB Notification: Performance of FrontEnd: time 2.304e-06/43.39, allocations: 0 / 11.24 GB, free: 99.14 MB / 1.417 GB Notification: Performance of Transformations before backend: time 0.003929/43.39, allocations: 431.1 kB / 11.24 GB, free: 99.05 MB / 1.417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.06447/43.46, allocations: 13.48 MB / 11.25 GB, free: 93.1 MB / 1.417 GB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/43.46, allocations: 7.781 kB / 11.25 GB, free: 93.1 MB / 1.417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01899/43.48, allocations: 2.54 MB / 11.25 GB, free: 92.1 MB / 1.417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07406/43.55, allocations: 21.68 MB / 11.27 GB, free: 89.33 MB / 1.417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001208/43.55, allocations: 0.6777 MB / 11.28 GB, free: 89.32 MB / 1.417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005909/43.56, allocations: 0.9537 MB / 11.28 GB, free: 89.3 MB / 1.417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04556/43.6, allocations: 15.56 MB / 11.29 GB, free: 88.47 MB / 1.417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006366/43.6, allocations: 17.53 kB / 11.29 GB, free: 88.46 MB / 1.417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004759/43.61, allocations: 331.8 kB / 11.29 GB, free: 88.45 MB / 1.417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004739/43.61, allocations: 363.2 kB / 11.29 GB, free: 88.44 MB / 1.417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04108/43.65, allocations: 19.67 MB / 11.31 GB, free: 88.32 MB / 1.417 GB Warning: The model contains alias variables with conflicting start and/or 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.1699/43.82, allocations: 80.07 MB / 11.39 GB, free: 44.35 MB / 1.417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02091/43.84, allocations: 11.76 MB / 11.4 GB, free: 38.83 MB / 1.417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01556/43.86, allocations: 9.484 MB / 11.41 GB, free: 30.3 MB / 1.417 GB Warning: The model contains alias variables with conflicting start and/or 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.08409/43.94, allocations: 33.77 MB / 11.44 GB, free: 2.895 MB / 1.417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02294/43.96, allocations: 9.45 MB / 11.45 GB, free: 12.39 MB / 1.432 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0525/44.02, allocations: 15.07 MB / 11.47 GB, free: 1.566 MB / 1.432 GB Notification: Performance of pre-optimization done (n=593): time 7.371e-05/44.02, allocations: 0 / 11.47 GB, free: 1.566 MB / 1.432 GB Notification: Performance of matching and sorting (n=866): time 2.1/46.12, allocations: 212.5 MB / 11.67 GB, free: 113.3 MB / 1.432 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.09166/46.21, allocations: 41.34 MB / 11.72 GB, free: 104.3 MB / 1.432 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03659/46.25, allocations: 14.22 MB / 11.73 GB, free: 103.5 MB / 1.432 GB Notification: Performance of collectPreVariables (initialization): time 0.00525/46.25, allocations: 233.5 kB / 11.73 GB, free: 103.5 MB / 1.432 GB Notification: Performance of collectInitialEqns (initialization): time 0.01177/46.26, allocations: 7.256 MB / 11.74 GB, free: 102.3 MB / 1.432 GB Notification: Performance of collectInitialBindings (initialization): time 0.01132/46.27, allocations: 3.072 MB / 11.74 GB, free: 100.8 MB / 1.432 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005498/46.28, allocations: 208.2 kB / 11.74 GB, free: 100.8 MB / 1.432 GB Notification: Performance of setup shared object (initialization): time 0.001066/46.28, allocations: 0.7432 MB / 11.74 GB, free: 100.4 MB / 1.432 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02619/46.31, allocations: 16.69 MB / 11.76 GB, free: 100.4 MB / 1.432 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02838/46.33, allocations: 19.66 MB / 11.78 GB, free: 97.18 MB / 1.432 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03026/46.37, allocations: 18.05 MB / 11.79 GB, free: 96.85 MB / 1.432 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001326/46.37, allocations: 15 kB / 11.79 GB, free: 96.85 MB / 1.432 GB Notification: Performance of matching and sorting (n=1391) (initialization): time 0.6244/46.99, allocations: 142.6 MB / 11.93 GB, free: 38.7 MB / 1.432 GB Notification: Performance of prepare postOptimizeDAE: time 0.008062/47, allocations: 36.96 MB / 11.97 GB, free: 15.79 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002644/47, allocations: 56 kB / 11.97 GB, free: 15.73 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895/48.89, allocations: 146 MB / 12.11 GB, free: 155 MB / 1.479 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0208/48.91, allocations: 3.637 MB / 12.12 GB, free: 155 MB / 1.479 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1548/49.07, allocations: 71.14 MB / 12.18 GB, free: 149.1 MB / 1.479 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09725/49.17, allocations: 6.215 MB / 12.19 GB, free: 149.1 MB / 1.479 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01045/49.18, allocations: 1.323 MB / 12.19 GB, free: 149.1 MB / 1.479 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/49.18, allocations: 5.188 kB / 12.19 GB, free: 149.1 MB / 1.479 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.615/49.79, allocations: 141.4 MB / 12.33 GB, free: 146.5 MB / 1.479 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002862/49.79, allocations: 53.38 kB / 12.33 GB, free: 146.5 MB / 1.479 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.616/50.41, allocations: 146.4 MB / 12.47 GB, free: 53.66 MB / 1.479 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01788/50.43, allocations: 3.626 MB / 12.48 GB, free: 50.22 MB / 1.479 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1653/50.59, allocations: 75.4 MB / 12.55 GB, free: 10.5 MB / 1.495 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09604/50.69, allocations: 6.184 MB / 12.56 GB, free: 4.539 MB / 1.495 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008093/50.7, allocations: 1.284 MB / 12.56 GB, free: 3.336 MB / 1.495 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1071): * Single equations (assignments): 1055 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.0113/50.71, allocations: 0.6657 MB / 12.56 GB, free: 3.102 MB / 1.495 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01132/50.72, allocations: 1.483 MB / 12.56 GB, free: 2.414 MB / 1.495 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.482/52.2, allocations: 58.28 MB / 12.62 GB, free: 186.6 MB / 1.51 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2087/52.41, allocations: 64.29 MB / 12.68 GB, free: 186.1 MB / 1.51 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000138/52.41, allocations: 26.53 kB / 12.68 GB, free: 186.1 MB / 1.51 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2083/52.62, allocations: 63.61 MB / 12.74 GB, free: 185.3 MB / 1.51 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3085/52.93, allocations: 127.1 MB / 12.87 GB, free: 180.2 MB / 1.51 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001079/52.93, allocations: 3.75 kB / 12.87 GB, free: 180.2 MB / 1.51 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01252/52.94, allocations: 2.054 MB / 12.87 GB, free: 180.2 MB / 1.51 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3195/53.26, allocations: 81.56 MB / 12.95 GB, free: 169.2 MB / 1.51 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003625/53.26, allocations: 0.5772 MB / 12.95 GB, free: 169.1 MB / 1.51 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1164/53.38, allocations: 63.88 MB / 13.01 GB, free: 132.4 MB / 1.51 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.07746/53.46, allocations: 35.55 MB / 13.04 GB, free: 105.8 MB / 1.51 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.293/54.75, allocations: 91.39 MB / 13.13 GB, free: 170.7 MB / 1.51 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0199/54.77, allocations: 6.174 MB / 13.14 GB, free: 170.6 MB / 1.51 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008779/54.78, allocations: 215.8 kB / 13.14 GB, free: 170.6 MB / 1.51 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05378/54.83, allocations: 3.381 MB / 13.14 GB, free: 170.6 MB / 1.51 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005047/54.84, allocations: 0.8796 MB / 13.14 GB, free: 170.6 MB / 1.51 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003562/54.84, allocations: 0.6398 MB / 13.15 GB, free: 170.6 MB / 1.51 GB Notification: Performance of sorting global known variables: time 0.02379/54.86, allocations: 10.88 MB / 13.16 GB, free: 170.1 MB / 1.51 GB Notification: Performance of sort global known variables: time 6.01e-07/54.86, allocations: 0 / 13.16 GB, free: 170.1 MB / 1.51 GB Notification: Performance of remove unused functions: time 0.1176/54.98, allocations: 38.65 MB / 13.19 GB, free: 170.1 MB / 1.51 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1],vol.p) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (658): * Single equations (assignments): 636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 3 {5 79,1 3,34 189} Notification: Performance of Backend phase and start with SimCode phase: time 0.01217/54.99, allocations: 5.556 MB / 13.2 GB, free: 168.2 MB / 1.51 GB Notification: Performance of simCode: created initialization part: time 0.1187/55.11, allocations: 69.96 MB / 13.27 GB, free: 167 MB / 1.51 GB Notification: Performance of simCode: created event and clocks part: time 3.513e-05/55.11, allocations: 4 kB / 13.27 GB, free: 167 MB / 1.51 GB Notification: Performance of simCode: created simulation system equations: time 0.07707/55.19, allocations: 39.05 MB / 13.31 GB, free: 166.2 MB / 1.51 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05013/55.24, allocations: 7.241 MB / 13.31 GB, free: 165.9 MB / 1.51 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09157/55.33, allocations: 44.03 MB / 13.36 GB, free: 158.9 MB / 1.51 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01816/55.35, allocations: 10.12 MB / 13.37 GB, free: 157.5 MB / 1.51 GB Notification: Performance of simCode: alias equations: time 0.05375/55.4, allocations: 11.03 MB / 13.38 GB, free: 156.6 MB / 1.51 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01358/55.42, allocations: 1.688 MB / 13.38 GB, free: 156.6 MB / 1.51 GB Notification: Performance of SimCode: time 2.104e-06/55.42, allocations: 0 / 13.38 GB, free: 156.6 MB / 1.51 GB Notification: Performance of Templates: time 3.087/58.5, allocations: 0.6093 GB / 13.99 GB, free: 173.4 MB / 1.526 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_FlowSystem_Simplified3.csv","../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches