Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.352/2.352, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001248/0.001248, allocations: 173.1 kB / 498.1 MB, free: 5.754 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.76/1.76, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.001065/0.001065, allocations: 106 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003867, allocations: 12.31 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3283, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.313/1.641, allocations: 463.7 MB / 1.676 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/1.641, allocations: 100.4 kB / 1.676 GB, free: 13.57 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 44.34/45.98, allocations: 10.49 GB / 12.17 GB, free: 96.2 MB / 1.417 GB Notification: Performance of FrontEnd: time 2.485e-06/45.98, allocations: 0 / 12.17 GB, free: 96.2 MB / 1.417 GB Notification: Performance of Transformations before backend: time 0.003371/45.98, allocations: 357.5 kB / 12.17 GB, free: 96.14 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: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.07731/46.06, allocations: 17.63 MB / 12.19 GB, free: 90.18 MB / 1.417 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/46.06, allocations: 10.02 kB / 12.19 GB, free: 90.18 MB / 1.417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02019/46.08, allocations: 2.587 MB / 12.19 GB, free: 89.39 MB / 1.417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07267/46.15, allocations: 19.07 MB / 12.21 GB, free: 87.27 MB / 1.417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009986/46.16, allocations: 0.5315 MB / 12.21 GB, free: 87.25 MB / 1.417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004558/46.16, allocations: 0.7102 MB / 12.21 GB, free: 87.25 MB / 1.417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03904/46.2, allocations: 13.44 MB / 12.22 GB, free: 86.64 MB / 1.417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003828/46.2, allocations: 13.28 kB / 12.22 GB, free: 86.64 MB / 1.417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003585/46.2, allocations: 249.4 kB / 12.22 GB, free: 86.64 MB / 1.417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001471/46.2, allocations: 147.2 kB / 12.22 GB, free: 86.64 MB / 1.417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03728/46.24, allocations: 18.16 MB / 12.24 GB, free: 86.6 MB / 1.417 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.1625/46.4, allocations: 70.42 MB / 12.31 GB, free: 54.73 MB / 1.417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02855/46.43, allocations: 9.936 MB / 12.32 GB, free: 54.57 MB / 1.417 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.104/46.54, allocations: 29.33 MB / 12.35 GB, free: 46.52 MB / 1.417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02667/46.56, allocations: 8.383 MB / 12.36 GB, free: 46.4 MB / 1.417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.06038/46.62, allocations: 15.08 MB / 12.37 GB, free: 46.2 MB / 1.417 GB Notification: Performance of pre-optimization done (n=394): time 5.748e-05/46.62, allocations: 0 / 12.37 GB, free: 46.2 MB / 1.417 GB Notification: Performance of matching and sorting (n=583): time 0.4369/47.06, allocations: 116.7 MB / 12.49 GB, free: 36.2 MB / 1.417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.293e-05/47.06, allocations: 119.2 kB / 12.49 GB, free: 36.12 MB / 1.417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03467/47.09, allocations: 12.14 MB / 12.5 GB, free: 35.41 MB / 1.417 GB Notification: Performance of collectPreVariables (initialization): time 0.004467/47.1, allocations: 185.4 kB / 12.5 GB, free: 35.38 MB / 1.417 GB Notification: Performance of collectInitialEqns (initialization): time 0.009633/47.11, allocations: 6.015 MB / 12.5 GB, free: 34.07 MB / 1.417 GB Notification: Performance of collectInitialBindings (initialization): time 0.005688/47.11, allocations: 1.955 MB / 12.51 GB, free: 32.8 MB / 1.417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002668/47.12, allocations: 147.8 kB / 12.51 GB, free: 32.8 MB / 1.417 GB Notification: Performance of setup shared object (initialization): time 0.0005945/47.12, allocations: 0.5982 MB / 12.51 GB, free: 32.48 MB / 1.417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01897/47.14, allocations: 8.605 MB / 12.51 GB, free: 32.43 MB / 1.417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02442/47.16, allocations: 11.18 MB / 12.53 GB, free: 27.36 MB / 1.417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02046/47.18, allocations: 9.483 MB / 12.53 GB, free: 23.42 MB / 1.417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001339/47.18, allocations: 11.81 kB / 12.53 GB, free: 23.42 MB / 1.417 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.07042/47.25, allocations: 27.78 MB / 12.56 GB, free: 9.84 MB / 1.417 GB Notification: Performance of prepare postOptimizeDAE: time 0.01014/47.26, allocations: 29.71 MB / 12.59 GB, free: 10.57 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001683/47.26, allocations: 52.42 kB / 12.59 GB, free: 10.52 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03/49.29, allocations: 175.7 MB / 12.76 GB, free: 128.5 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0122/49.3, allocations: 1.789 MB / 12.76 GB, free: 128.5 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04835/49.35, allocations: 26.76 MB / 12.79 GB, free: 123.4 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02234/49.38, allocations: 1.317 MB / 12.79 GB, free: 123.4 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004832/49.38, allocations: 0.7972 MB / 12.79 GB, free: 123.4 MB / 1.448 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/49.38, allocations: 6.406 kB / 12.79 GB, free: 123.4 MB / 1.448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06823/49.45, allocations: 26.8 MB / 12.82 GB, free: 123.1 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002648/49.45, allocations: 47.84 kB / 12.82 GB, free: 123.1 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6829/50.13, allocations: 170.9 MB / 12.99 GB, free: 110.2 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009805/50.14, allocations: 1.775 MB / 12.99 GB, free: 108.5 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05796/50.2, allocations: 31.76 MB / 13.02 GB, free: 84.8 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02337/50.22, allocations: 1.288 MB / 13.02 GB, free: 83.7 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005321/50.23, allocations: 0.7624 MB / 13.02 GB, free: 82.99 MB / 1.448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (658): * Single equations (assignments): 644 * Array equations: 4 * 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: 0 * Non-linear torn systems: 3 {39 57,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01511/50.24, allocations: 3.113 MB / 13.02 GB, free: 81.07 MB / 1.448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007132/50.25, allocations: 1.217 MB / 13.02 GB, free: 80.51 MB / 1.448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07195/50.32, allocations: 25.06 MB / 13.05 GB, free: 64.53 MB / 1.448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002136/50.32, allocations: 79.17 kB / 13.05 GB, free: 64.46 MB / 1.448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.8e-05/50.32, allocations: 0 / 13.05 GB, free: 64.46 MB / 1.448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0487/50.37, allocations: 19.48 MB / 13.07 GB, free: 52.25 MB / 1.448 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.1229/50.49, allocations: 46.14 MB / 13.11 GB, free: 21.36 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001026/50.5, allocations: 8 kB / 13.11 GB, free: 21.35 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007839/50.5, allocations: 1.28 MB / 13.11 GB, free: 20.15 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2089/50.71, allocations: 48.98 MB / 13.16 GB, free: 4.48 MB / 1.479 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002369/50.71, allocations: 199.8 kB / 13.16 GB, free: 4.379 MB / 1.479 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.387/52.1, allocations: 14.86 MB / 13.18 GB, free: 152.5 MB / 1.479 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.792e-05/52.1, allocations: 11 kB / 13.18 GB, free: 152.5 MB / 1.479 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08333/52.19, allocations: 31.87 MB / 13.21 GB, free: 149.1 MB / 1.479 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01613/52.2, allocations: 2.978 MB / 13.21 GB, free: 149 MB / 1.479 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007971/52.21, allocations: 132.1 kB / 13.21 GB, free: 149 MB / 1.479 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02064/52.23, allocations: 1.031 MB / 13.21 GB, free: 149 MB / 1.479 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002932/52.23, allocations: 467.7 kB / 13.21 GB, free: 149 MB / 1.479 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002357/52.24, allocations: 291.1 kB / 13.21 GB, free: 149 MB / 1.479 GB Notification: Performance of sorting global known variables: time 0.02959/52.26, allocations: 9.298 MB / 13.22 GB, free: 148.7 MB / 1.479 GB Notification: Performance of sort global known variables: time 3.5e-07/52.27, allocations: 0 / 13.22 GB, free: 148.7 MB / 1.479 GB Notification: Performance of remove unused functions: time 0.0551/52.32, allocations: 6.617 MB / 13.23 GB, free: 148.7 MB / 1.479 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (489): * Single equations (assignments): 467 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * 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: 0 * Non-linear torn systems: 3 {8 74,38 56,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.01276/52.33, allocations: 5.05 MB / 13.23 GB, free: 146.8 MB / 1.479 GB Notification: Performance of simCode: created initialization part: time 0.09154/52.42, allocations: 35.44 MB / 13.27 GB, free: 146.2 MB / 1.479 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-05/52.42, allocations: 6.906 kB / 13.27 GB, free: 146.2 MB / 1.479 GB Notification: Performance of simCode: created simulation system equations: time 0.02421/52.45, allocations: 9.933 MB / 13.28 GB, free: 146 MB / 1.479 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03618/52.49, allocations: 6.181 MB / 13.28 GB, free: 146 MB / 1.479 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06445/52.55, allocations: 30.42 MB / 13.31 GB, free: 135 MB / 1.479 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01651/52.57, allocations: 7.208 MB / 13.32 GB, free: 134 MB / 1.479 GB Notification: Performance of simCode: alias equations: time 0.02559/52.59, allocations: 3.794 MB / 13.32 GB, free: 133.9 MB / 1.479 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006304/52.6, allocations: 0.9957 MB / 13.33 GB, free: 133.9 MB / 1.479 GB Notification: Performance of SimCode: time 1.253e-06/52.6, allocations: 2.438 kB / 13.33 GB, free: 133.9 MB / 1.479 GB Notification: Performance of Templates: time 2.901/55.5, allocations: 407.4 MB / 13.72 GB, free: 187.4 MB / 1.511 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_FlowSystem_Simplified5.csv","../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches