Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.366/2.366, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.00191/0.00191, allocations: 180.9 kB / 492.3 MB, free: 0.5898 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.546/1.546, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0009119/0.0009121, allocations: 93.83 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.666e-05/3.67e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2926, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.209/1.502, allocations: 464.2 MB / 1.666 GB, free: 14.77 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/1.502, allocations: 91.52 kB / 1.666 GB, free: 14.73 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 45.82/47.32, allocations: 10.7 GB / 12.37 GB, free: 30.21 MB / 1.417 GB Notification: Performance of FrontEnd: time 2.144e-06/47.32, allocations: 0 / 12.37 GB, free: 30.21 MB / 1.417 GB Notification: Performance of Transformations before backend: time 0.003337/47.32, allocations: 351.7 kB / 12.37 GB, free: 29.87 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.04275/47.36, allocations: 11.1 MB / 12.38 GB, free: 18.67 MB / 1.417 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/47.36, allocations: 19.97 kB / 12.38 GB, free: 18.65 MB / 1.417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01568/47.38, allocations: 2.44 MB / 12.38 GB, free: 16.2 MB / 1.417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.322/48.7, allocations: 18.51 MB / 12.4 GB, free: 98.13 MB / 1.417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001032/48.7, allocations: 0.5314 MB / 12.4 GB, free: 98.12 MB / 1.417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003775/48.71, allocations: 0.7092 MB / 12.4 GB, free: 98.12 MB / 1.417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02756/48.73, allocations: 8.327 MB / 12.41 GB, free: 97.05 MB / 1.417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003059/48.73, allocations: 21.48 kB / 12.41 GB, free: 97.05 MB / 1.417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001945/48.74, allocations: 251.5 kB / 12.41 GB, free: 97.05 MB / 1.417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002378/48.74, allocations: 154.2 kB / 12.41 GB, free: 97.05 MB / 1.417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02586/48.76, allocations: 6.674 MB / 12.42 GB, free: 97.01 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.101/48.86, allocations: 50.16 MB / 12.47 GB, free: 71.3 MB / 1.417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009247/48.87, allocations: 4.708 MB / 12.47 GB, free: 71.14 MB / 1.417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007503/48.88, allocations: 3.623 MB / 12.48 GB, free: 71.09 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.04232/48.92, allocations: 13.8 MB / 12.49 GB, free: 68.11 MB / 1.417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00668/48.93, allocations: 3.273 MB / 12.49 GB, free: 68 MB / 1.417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01491/48.94, allocations: 2.389 MB / 12.49 GB, free: 67.89 MB / 1.417 GB Notification: Performance of pre-optimization done (n=326): time 3.619e-05/48.94, allocations: 0 / 12.49 GB, free: 67.89 MB / 1.417 GB Notification: Performance of matching and sorting (n=514): time 0.1326/49.08, allocations: 36.99 MB / 12.53 GB, free: 60.79 MB / 1.417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/49.08, allocations: 103.7 kB / 12.53 GB, free: 60.71 MB / 1.417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03924/49.12, allocations: 12.21 MB / 12.54 GB, free: 59.98 MB / 1.417 GB Notification: Performance of collectPreVariables (initialization): time 0.002762/49.12, allocations: 178 kB / 12.54 GB, free: 59.95 MB / 1.417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0117/49.13, allocations: 6.23 MB / 12.55 GB, free: 58.88 MB / 1.417 GB Notification: Performance of collectInitialBindings (initialization): time 0.003601/49.13, allocations: 1.733 MB / 12.55 GB, free: 58 MB / 1.417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002041/49.14, allocations: 148.7 kB / 12.55 GB, free: 58 MB / 1.417 GB Notification: Performance of setup shared object (initialization): time 0.0007131/49.14, allocations: 0.5928 MB / 12.55 GB, free: 57.68 MB / 1.417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007509/49.14, allocations: 3.95 MB / 12.56 GB, free: 57.65 MB / 1.417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009851/49.15, allocations: 6.858 MB / 12.56 GB, free: 54.3 MB / 1.417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009683/49.16, allocations: 4.727 MB / 12.57 GB, free: 54.14 MB / 1.417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001102/49.16, allocations: 16.91 kB / 12.57 GB, free: 54.14 MB / 1.417 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.0343/49.2, allocations: 13.96 MB / 12.58 GB, free: 53.09 MB / 1.417 GB Notification: Performance of prepare postOptimizeDAE: time 0.01917/49.22, allocations: 38.6 MB / 12.62 GB, free: 45.24 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002769/49.22, allocations: 59.22 kB / 12.62 GB, free: 45.24 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007721/49.23, allocations: 3.397 MB / 12.62 GB, free: 45.16 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01147/49.24, allocations: 1.907 MB / 12.62 GB, free: 45.16 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01496/49.25, allocations: 12.31 MB / 12.64 GB, free: 38.42 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01996/49.27, allocations: 1.247 MB / 12.64 GB, free: 38.39 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003166/49.28, allocations: 490.3 kB / 12.64 GB, free: 38.39 MB / 1.448 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/49.28, allocations: 3.844 kB / 12.64 GB, free: 38.39 MB / 1.448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03169/49.31, allocations: 12.94 MB / 12.65 GB, free: 38.03 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003029/49.31, allocations: 59.62 kB / 12.65 GB, free: 38.03 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008458/49.32, allocations: 3.658 MB / 12.65 GB, free: 37.95 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009956/49.33, allocations: 1.893 MB / 12.66 GB, free: 37.95 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03355/49.36, allocations: 16.62 MB / 12.67 GB, free: 48.37 MB / 1.464 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02051/49.38, allocations: 1.214 MB / 12.67 GB, free: 48.35 MB / 1.464 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002836/49.38, allocations: 448.8 kB / 12.67 GB, free: 48.35 MB / 1.464 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (742): * Single equations (assignments): 725 * 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: 6 * 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: 6 {1 4,1 2,1 2,1 2,6 79,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.004593/49.39, allocations: 0.5443 MB / 12.67 GB, free: 48.23 MB / 1.464 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005049/49.39, allocations: 1.211 MB / 12.67 GB, free: 47.56 MB / 1.464 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03137/49.42, allocations: 12.41 MB / 12.69 GB, free: 46.99 MB / 1.464 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001052/49.42, allocations: 60 kB / 12.69 GB, free: 46.99 MB / 1.464 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.871e-05/49.42, allocations: 0 / 12.69 GB, free: 46.99 MB / 1.464 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01949/49.44, allocations: 9.791 MB / 12.7 GB, free: 46.4 MB / 1.464 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.06454/49.51, allocations: 24.52 MB / 12.72 GB, free: 44.36 MB / 1.464 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.216e-05/49.51, allocations: 11.97 kB / 12.72 GB, free: 44.36 MB / 1.464 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007269/49.52, allocations: 1.198 MB / 12.72 GB, free: 44.36 MB / 1.464 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006034/49.52, allocations: 2.399 MB / 12.72 GB, free: 44.28 MB / 1.464 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001452/49.52, allocations: 171.5 kB / 12.72 GB, free: 44.28 MB / 1.464 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0103/49.53, allocations: 10.99 MB / 12.73 GB, free: 37.55 MB / 1.464 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.228e-05/49.53, allocations: 13.56 kB / 12.73 GB, free: 37.55 MB / 1.464 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03197/49.57, allocations: 19.1 MB / 12.75 GB, free: 33.25 MB / 1.464 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009954/49.58, allocations: 2.583 MB / 12.76 GB, free: 32.46 MB / 1.464 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005139/49.58, allocations: 110.8 kB / 12.76 GB, free: 32.46 MB / 1.464 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01446/49.6, allocations: 1.023 MB / 12.76 GB, free: 32.45 MB / 1.464 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002133/49.6, allocations: 398.7 kB / 12.76 GB, free: 32.43 MB / 1.464 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001515/49.6, allocations: 248.6 kB / 12.76 GB, free: 32.43 MB / 1.464 GB Notification: Performance of sorting global known variables: time 0.0198/49.62, allocations: 9.283 MB / 12.77 GB, free: 32.01 MB / 1.464 GB Notification: Performance of sort global known variables: time 4.41e-07/49.62, allocations: 6.844 kB / 12.77 GB, free: 32.01 MB / 1.464 GB Notification: Performance of remove unused functions: time 0.03896/49.66, allocations: 6.038 MB / 12.77 GB, free: 32.01 MB / 1.464 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 (441): * Single equations (assignments): 416 * 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: 6 * 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: 6 {8 73,1 4,1 2,1 2,1 2,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.009303/49.67, allocations: 5.011 MB / 12.78 GB, free: 30.16 MB / 1.464 GB Notification: Performance of simCode: created initialization part: time 0.03646/49.7, allocations: 16.88 MB / 12.79 GB, free: 29.48 MB / 1.464 GB Notification: Performance of simCode: created event and clocks part: time 1.66e-05/49.7, allocations: 3.375 kB / 12.79 GB, free: 29.48 MB / 1.464 GB Notification: Performance of simCode: created simulation system equations: time 0.009799/49.71, allocations: 4.669 MB / 12.8 GB, free: 29.39 MB / 1.464 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03423/49.75, allocations: 5.902 MB / 12.8 GB, free: 29.08 MB / 1.464 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04683/49.8, allocations: 19.59 MB / 12.82 GB, free: 24.7 MB / 1.464 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01076/49.81, allocations: 7.135 MB / 12.83 GB, free: 23.57 MB / 1.464 GB Notification: Performance of simCode: alias equations: time 0.02985/49.84, allocations: 6.544 MB / 12.84 GB, free: 22.74 MB / 1.464 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003378/49.84, allocations: 0.6837 MB / 12.84 GB, free: 22.73 MB / 1.464 GB Notification: Performance of SimCode: time 1.012e-06/49.84, allocations: 0 / 12.84 GB, free: 22.73 MB / 1.464 GB Notification: Performance of Templates: time 2.609/52.45, allocations: 301.9 MB / 13.13 GB, free: 146.7 MB / 1.479 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_FlowSystem_Simplified6.csv","../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches