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.292/2.292, allocations: 387.1 MB / 399.7 MB, free: 9.422 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.001196/0.001195, allocations: 184.6 kB / 492.3 MB, free: 0.6016 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.911/1.911, allocations: 221.3 MB / 0.7872 GB, free: 12.94 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.0009398/0.00094, allocations: 83.91 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.972e-05/2.974e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3036, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.396/1.7, allocations: 463.6 MB / 1.665 GB, free: 15.39 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/1.7, allocations: 93.75 kB / 1.665 GB, free: 15.34 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 44.28/45.98, allocations: 10.46 GB / 12.13 GB, free: 88.58 MB / 1.417 GB Notification: Performance of FrontEnd: time 1.844e-06/45.98, allocations: 0 / 12.13 GB, free: 88.58 MB / 1.417 GB Notification: Performance of Transformations before backend: time 0.002787/45.99, allocations: 356.6 kB / 12.13 GB, free: 88.52 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.04512/46.03, allocations: 11.18 MB / 12.14 GB, free: 83.59 MB / 1.417 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/46.03, allocations: 8.531 kB / 12.14 GB, free: 83.59 MB / 1.417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01708/46.05, allocations: 2.591 MB / 12.14 GB, free: 82.79 MB / 1.417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06597/46.11, allocations: 18.87 MB / 12.16 GB, free: 80.56 MB / 1.417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001197/46.11, allocations: 0.5284 MB / 12.16 GB, free: 80.55 MB / 1.417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004892/46.12, allocations: 0.7116 MB / 12.16 GB, free: 80.55 MB / 1.417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0382/46.16, allocations: 13.12 MB / 12.18 GB, free: 79.9 MB / 1.417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000406/46.16, allocations: 9.344 kB / 12.18 GB, free: 79.89 MB / 1.417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004102/46.16, allocations: 250 kB / 12.18 GB, free: 79.89 MB / 1.417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001995/46.16, allocations: 150.7 kB / 12.18 GB, free: 79.89 MB / 1.417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03394/46.2, allocations: 17.58 MB / 12.19 GB, free: 79.81 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.1455/46.34, allocations: 70.36 MB / 12.26 GB, free: 47.38 MB / 1.417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01488/46.36, allocations: 9.497 MB / 12.27 GB, free: 47.21 MB / 1.417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01341/46.37, allocations: 8.464 MB / 12.28 GB, free: 47.14 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.07041/46.44, allocations: 29.58 MB / 12.31 GB, free: 35.44 MB / 1.417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01654/46.46, allocations: 8.139 MB / 12.32 GB, free: 32.47 MB / 1.417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04624/46.5, allocations: 15.23 MB / 12.33 GB, free: 31.04 MB / 1.417 GB Notification: Performance of pre-optimization done (n=393): time 4.464e-05/46.5, allocations: 0 / 12.33 GB, free: 31.04 MB / 1.417 GB Notification: Performance of matching and sorting (n=581): time 0.2698/46.77, allocations: 76.96 MB / 12.41 GB, free: 2.039 MB / 1.432 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/46.77, allocations: 123.5 kB / 12.41 GB, free: 1.906 MB / 1.432 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.204/47.98, allocations: 12.65 MB / 12.42 GB, free: 115.1 MB / 1.432 GB Notification: Performance of collectPreVariables (initialization): time 0.003687/47.98, allocations: 181.2 kB / 12.42 GB, free: 115 MB / 1.432 GB Notification: Performance of collectInitialEqns (initialization): time 0.009214/47.99, allocations: 6.017 MB / 12.43 GB, free: 114.8 MB / 1.432 GB Notification: Performance of collectInitialBindings (initialization): time 0.005261/48, allocations: 1.955 MB / 12.43 GB, free: 114.7 MB / 1.432 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002166/48, allocations: 145.4 kB / 12.43 GB, free: 114.7 MB / 1.432 GB Notification: Performance of setup shared object (initialization): time 0.0005746/48, allocations: 0.5945 MB / 12.43 GB, free: 114.4 MB / 1.432 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0158/48.02, allocations: 7.82 MB / 12.44 GB, free: 114.4 MB / 1.432 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01742/48.03, allocations: 10.4 MB / 12.45 GB, free: 111.5 MB / 1.432 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01478/48.05, allocations: 8.727 MB / 12.45 GB, free: 111.4 MB / 1.432 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001133/48.05, allocations: 17.55 kB / 12.45 GB, free: 111.4 MB / 1.432 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.06001/48.11, allocations: 26.16 MB / 12.48 GB, free: 110.3 MB / 1.432 GB Notification: Performance of prepare postOptimizeDAE: time 0.006178/48.11, allocations: 29.71 MB / 12.51 GB, free: 79.67 MB / 1.432 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001789/48.11, allocations: 47.06 kB / 12.51 GB, free: 79.67 MB / 1.432 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7277/48.84, allocations: 170.4 MB / 12.68 GB, free: 79.12 MB / 1.432 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01114/48.85, allocations: 1.804 MB / 12.68 GB, free: 79.1 MB / 1.432 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05245/48.91, allocations: 26.56 MB / 12.7 GB, free: 73.82 MB / 1.432 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02156/48.93, allocations: 1.316 MB / 12.7 GB, free: 73.71 MB / 1.432 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004661/48.93, allocations: 0.8043 MB / 12.71 GB, free: 73.71 MB / 1.432 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/48.93, allocations: 3.938 kB / 12.71 GB, free: 73.71 MB / 1.432 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05805/48.99, allocations: 25.21 MB / 12.73 GB, free: 73.28 MB / 1.432 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002546/48.99, allocations: 46.5 kB / 12.73 GB, free: 73.28 MB / 1.432 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7291/49.72, allocations: 170.6 MB / 12.9 GB, free: 12.77 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01104/49.73, allocations: 1.79 MB / 12.9 GB, free: 11.09 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06673/49.8, allocations: 30.92 MB / 12.93 GB, free: 3.672 MB / 1.464 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02139/49.82, allocations: 1.291 MB / 12.93 GB, free: 2.531 MB / 1.464 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00436/49.82, allocations: 0.7595 MB / 12.93 GB, free: 1.832 MB / 1.464 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (662): * Single equations (assignments): 648 * 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 79,8 77} Notification: Performance of prepare postOptimizeDAE: time 0.00534/49.83, allocations: 0.5251 MB / 12.93 GB, free: 1.613 MB / 1.464 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005287/49.83, allocations: 1.22 MB / 12.93 GB, free: 392 kB / 1.464 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06585/49.9, allocations: 23.39 MB / 12.95 GB, free: 1.57 MB / 1.479 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001597/49.9, allocations: 75.98 kB / 12.96 GB, free: 1.496 MB / 1.479 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.323e-05/49.9, allocations: 6.875 kB / 12.96 GB, free: 1.492 MB / 1.479 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236/51.14, allocations: 17.83 MB / 12.97 GB, free: 154.7 MB / 1.479 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 postOpt removeSimpleEquations (simulation): time 0.1534/51.29, allocations: 54.28 MB / 13.03 GB, free: 148.4 MB / 1.479 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.751e-05/51.29, allocations: 10.75 kB / 13.03 GB, free: 148.4 MB / 1.479 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007176/51.3, allocations: 1.285 MB / 13.03 GB, free: 148.4 MB / 1.479 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2236/51.52, allocations: 48.87 MB / 13.07 GB, free: 148.3 MB / 1.479 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002241/51.52, allocations: 199.8 kB / 13.07 GB, free: 148.3 MB / 1.479 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02586/51.55, allocations: 14.71 MB / 13.09 GB, free: 143.1 MB / 1.479 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.528e-05/51.55, allocations: 11.22 kB / 13.09 GB, free: 143.1 MB / 1.479 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07563/51.62, allocations: 32.92 MB / 13.12 GB, free: 139.5 MB / 1.479 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01459/51.64, allocations: 2.978 MB / 13.12 GB, free: 139.4 MB / 1.479 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007437/51.65, allocations: 130.5 kB / 13.12 GB, free: 139.4 MB / 1.479 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01797/51.66, allocations: 1.04 MB / 13.13 GB, free: 139.4 MB / 1.479 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002668/51.67, allocations: 463.9 kB / 13.13 GB, free: 139.4 MB / 1.479 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002201/51.67, allocations: 289.1 kB / 13.13 GB, free: 139.4 MB / 1.479 GB Notification: Performance of sorting global known variables: time 0.02308/51.69, allocations: 9.157 MB / 13.13 GB, free: 139 MB / 1.479 GB Notification: Performance of sort global known variables: time 8.21e-07/51.69, allocations: 2.438 kB / 13.13 GB, free: 139 MB / 1.479 GB Notification: Performance of remove unused functions: time 0.0493/51.74, allocations: 6.614 MB / 13.14 GB, free: 139 MB / 1.479 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (491): * Single equations (assignments): 469 * 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 {5 76,37 57,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.01112/51.75, allocations: 5.039 MB / 13.15 GB, free: 137.1 MB / 1.479 GB Notification: Performance of simCode: created initialization part: time 0.08038/51.83, allocations: 33.61 MB / 13.18 GB, free: 136.3 MB / 1.479 GB Notification: Performance of simCode: created event and clocks part: time 3.861e-05/51.83, allocations: 2.906 kB / 13.18 GB, free: 136.3 MB / 1.479 GB Notification: Performance of simCode: created simulation system equations: time 0.02286/51.86, allocations: 9.235 MB / 13.19 GB, free: 136.2 MB / 1.479 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03586/51.89, allocations: 6.204 MB / 13.19 GB, free: 136.1 MB / 1.479 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05671/51.95, allocations: 21.5 MB / 13.22 GB, free: 131.8 MB / 1.479 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0161/51.96, allocations: 7.231 MB / 13.22 GB, free: 130.8 MB / 1.479 GB Notification: Performance of simCode: alias equations: time 0.03441/52, allocations: 6.442 MB / 13.23 GB, free: 130.7 MB / 1.479 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004049/52, allocations: 0.7243 MB / 13.23 GB, free: 130.7 MB / 1.479 GB Notification: Performance of SimCode: time 1.442e-06/52, allocations: 5.328 kB / 13.23 GB, free: 130.7 MB / 1.479 GB Notification: Performance of Templates: time 3.037/55.04, allocations: 436.3 MB / 13.66 GB, free: 142.7 MB / 1.495 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