Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 182.7 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.982/1.982, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 97.02 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003676, allocations: 9.969 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2786, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.544/5.823, allocations: 2.182 GB / 3.082 GB, free: 39.17 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/5.823, allocations: 96.78 kB / 3.082 GB, free: 39.08 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.337/9.16, allocations: 0.9285 GB / 4.01 GB, free: 147.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.515e-06/9.16, allocations: 0 / 4.01 GB, free: 147.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.844e-05/9.16, allocations: 31.98 kB / 4.01 GB, free: 147.6 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002747/9.163, allocations: 1.428 MB / 4.012 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/9.163, allocations: 8.031 kB / 4.012 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006764/9.163, allocations: 186.4 kB / 4.012 GB, free: 146 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/9.165, allocations: 1.088 MB / 4.013 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.947e-05/9.165, allocations: 41 kB / 4.013 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.567e-05/9.166, allocations: 64 kB / 4.013 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009119/9.166, allocations: 0.7654 MB / 4.014 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/9.167, allocations: 7.938 kB / 4.014 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.743e-05/9.167, allocations: 16 kB / 4.014 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/9.167, allocations: 16 kB / 4.014 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007044/9.167, allocations: 0.515 MB / 4.014 GB, free: 143.3 MB / 0.8855 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.003089/9.17, allocations: 4.599 MB / 4.019 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005572/9.171, allocations: 422.4 kB / 4.019 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00026/9.171, allocations: 190.2 kB / 4.019 GB, free: 137.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003837/9.172, allocations: 295.5 kB / 4.02 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 1.323e-06/9.172, allocations: 0 / 4.02 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.001161/9.173, allocations: 0.6449 MB / 4.02 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/9.173, allocations: 85.11 kB / 4.02 GB, free: 136.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009278/9.174, allocations: 0.9795 MB / 4.021 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/9.174, allocations: 37.7 kB / 4.021 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/9.174, allocations: 0.4895 MB / 4.022 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.071e-05/9.174, allocations: 106.5 kB / 4.022 GB, free: 135 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/9.174, allocations: 8 kB / 4.022 GB, free: 135 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.477e-05/9.174, allocations: 330 kB / 4.022 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/9.175, allocations: 184.7 kB / 4.023 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/9.175, allocations: 0.5052 MB / 4.023 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/9.175, allocations: 297.9 kB / 4.023 GB, free: 133.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/9.175, allocations: 0 / 4.023 GB, free: 133.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008776/9.176, allocations: 0.6818 MB / 4.024 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004928/9.177, allocations: 2.136 MB / 4.026 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/9.177, allocations: 4 kB / 4.026 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/9.177, allocations: 11.94 kB / 4.026 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/9.178, allocations: 291.5 kB / 4.026 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/9.18, allocations: 6.091 MB / 4.032 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008764/9.181, allocations: 99.47 kB / 4.032 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-05/9.181, allocations: 27.98 kB / 4.032 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/9.181, allocations: 5.719 kB / 4.032 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007631/9.182, allocations: 0.5482 MB / 4.033 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/9.182, allocations: 8.094 kB / 4.033 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/9.182, allocations: 8 kB / 4.033 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004536/9.183, allocations: 147.8 kB / 4.033 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/9.183, allocations: 8 kB / 4.033 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005411/9.183, allocations: 91.53 kB / 4.033 GB, free: 123 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/9.183, allocations: 28 kB / 4.033 GB, free: 122.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005009/9.184, allocations: 469.2 kB / 4.034 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.717e-05/9.184, allocations: 102.7 kB / 4.034 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007704/9.185, allocations: 0.4951 MB / 4.034 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/9.185, allocations: 7.938 kB / 4.034 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/9.185, allocations: 0 / 4.034 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/9.185, allocations: 8 kB / 4.034 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/9.186, allocations: 1.384 MB / 4.036 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/9.186, allocations: 4 kB / 4.036 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005201/9.187, allocations: 156 kB / 4.036 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/9.187, allocations: 4 kB / 4.036 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/9.187, allocations: 8 kB / 4.036 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001763/9.189, allocations: 6.02 MB / 4.042 GB, free: 114 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/9.189, allocations: 7.969 kB / 4.042 GB, free: 114 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006628/9.19, allocations: 0.6931 MB / 4.042 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002957/9.19, allocations: 223.7 kB / 4.043 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.31e-05/9.19, allocations: 11.98 kB / 4.043 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004319/9.19, allocations: 59.73 kB / 4.043 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/9.19, allocations: 35.89 kB / 4.043 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/9.19, allocations: 12 kB / 4.043 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007733/9.191, allocations: 0.7797 MB / 4.043 GB, free: 112 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.51e-07/9.191, allocations: 0 / 4.043 GB, free: 112 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001369/9.193, allocations: 479.7 kB / 4.044 GB, free: 111.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001194/9.194, allocations: 0.905 MB / 4.045 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002102/9.196, allocations: 0.9823 MB / 4.046 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/9.196, allocations: 4 kB / 4.046 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005937/9.197, allocations: 284.2 kB / 4.046 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/9.198, allocations: 455.1 kB / 4.046 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/9.2, allocations: 2.015 MB / 4.048 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/9.201, allocations: 1.204 MB / 4.05 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0008747/9.202, allocations: 375.7 kB / 4.05 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/9.202, allocations: 63.44 kB / 4.05 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of SimCode: time 4.91e-07/9.202, allocations: 3.938 kB / 4.05 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.0345/9.237, allocations: 27.5 MB / 4.077 GB, free: 77.86 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches