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.513/1.513, allocations: 249.5 MB / 257 MB, free: 6.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001216/0.001216, allocations: 180.9 kB / 316.3 MB, free: 3.23 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.785/1.785, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.0009862/0.0009864, allocations: 86.52 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.555e-05/1.546e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2649, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.411/6.676, allocations: 2.182 GB / 3.067 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/6.676, allocations: 96.94 kB / 3.067 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.28/9.956, allocations: 0.9174 GB / 3.985 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.914e-06/9.956, allocations: 0 / 3.985 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.623e-05/9.956, allocations: 26.78 kB / 3.985 GB, free: 242.7 MB / 0.8698 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.00172/9.958, allocations: 1.145 MB / 3.986 GB, free: 242.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/9.958, allocations: 7.781 kB / 3.986 GB, free: 242.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007343/9.958, allocations: 184.6 kB / 3.986 GB, free: 242.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/9.96, allocations: 1.083 MB / 3.987 GB, free: 241.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/9.96, allocations: 15.69 kB / 3.987 GB, free: 241.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.881e-05/9.96, allocations: 37.41 kB / 3.987 GB, free: 241.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006392/9.961, allocations: 468.8 kB / 3.988 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007497/9.962, allocations: 0.6775 MB / 3.988 GB, free: 241.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/9.962, allocations: 10.73 kB / 3.988 GB, free: 241.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/9.962, allocations: 3.938 kB / 3.988 GB, free: 241.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/9.962, allocations: 15.34 kB / 3.988 GB, free: 241.2 MB / 0.8698 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.002936/9.965, allocations: 4.455 MB / 3.993 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/9.965, allocations: 442.7 kB / 3.993 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/9.966, allocations: 246.6 kB / 3.993 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002703/9.966, allocations: 197.2 kB / 3.993 GB, free: 237.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003075/9.966, allocations: 261.6 kB / 3.994 GB, free: 237 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 3.276e-06/9.966, allocations: 0 / 3.994 GB, free: 237 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.0008892/9.967, allocations: 494.2 kB / 3.994 GB, free: 236.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/9.967, allocations: 82.8 kB / 3.994 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000864/9.968, allocations: 0.8488 MB / 3.995 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/9.968, allocations: 33.33 kB / 3.995 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003012/9.968, allocations: 485.9 kB / 3.996 GB, free: 236 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.925e-05/9.969, allocations: 113.1 kB / 3.996 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/9.969, allocations: 3.312 kB / 3.996 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.44e-05/9.969, allocations: 330.3 kB / 3.996 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/9.969, allocations: 174.2 kB / 3.996 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/9.969, allocations: 0.4973 MB / 3.997 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/9.969, allocations: 265.5 kB / 3.997 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/9.969, allocations: 3.875 kB / 3.997 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007605/9.97, allocations: 0.6139 MB / 3.997 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004517/9.971, allocations: 2.124 MB / 4 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/9.971, allocations: 7.812 kB / 4 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/9.971, allocations: 11.06 kB / 4 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/9.972, allocations: 314.2 kB / 4 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/9.975, allocations: 6.176 MB / 4.006 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009195/9.976, allocations: 86.47 kB / 4.006 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.105e-05/9.976, allocations: 25.59 kB / 4.006 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/9.976, allocations: 3.719 kB / 4.006 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005457/9.976, allocations: 416 kB / 4.006 GB, free: 226.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/9.976, allocations: 10.91 kB / 4.006 GB, free: 226.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/9.976, allocations: 10.81 kB / 4.006 GB, free: 226.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004999/9.977, allocations: 149.9 kB / 4.007 GB, free: 226.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/9.977, allocations: 10.44 kB / 4.007 GB, free: 226.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007896/9.978, allocations: 72.25 kB / 4.007 GB, free: 226.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/9.978, allocations: 25.16 kB / 4.007 GB, free: 226.5 MB / 0.8698 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 () * 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.0001723/9.978, allocations: 134 kB / 4.007 GB, free: 226.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/9.978, allocations: 97.06 kB / 4.007 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006988/9.979, allocations: 436.9 kB / 4.007 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/9.979, allocations: 3.969 kB / 4.007 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/9.979, allocations: 3.875 kB / 4.007 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/9.979, allocations: 3.844 kB / 4.007 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/9.981, allocations: 1.264 MB / 4.009 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/9.981, allocations: 2 kB / 4.009 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005695/9.981, allocations: 157.8 kB / 4.009 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/9.981, allocations: 2.344 kB / 4.009 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/9.981, allocations: 9.891 kB / 4.009 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001765/9.983, allocations: 6.041 MB / 4.015 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/9.983, allocations: 3.625 kB / 4.015 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005766/9.984, allocations: 0.6277 MB / 4.015 GB, free: 219.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003737/9.984, allocations: 207.9 kB / 4.015 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/9.984, allocations: 3.938 kB / 4.015 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005401/9.985, allocations: 50.7 kB / 4.015 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.033e-05/9.985, allocations: 37.48 kB / 4.016 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/9.985, allocations: 10.94 kB / 4.016 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000754/9.986, allocations: 0.6636 MB / 4.016 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/9.986, allocations: 0 / 4.016 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001418/9.987, allocations: 448.8 kB / 4.017 GB, free: 218.6 MB / 0.8698 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) * 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.001404/9.988, allocations: 1.036 MB / 4.018 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002401/9.991, allocations: 0.9453 MB / 4.019 GB, free: 218 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/9.991, allocations: 3.391 kB / 4.019 GB, free: 218 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006103/9.991, allocations: 257.3 kB / 4.019 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/9.993, allocations: 394 kB / 4.019 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/9.996, allocations: 1.328 MB / 4.02 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006374/9.996, allocations: 1.211 MB / 4.022 GB, free: 216.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001908/9.998, allocations: 0.7407 MB / 4.022 GB, free: 216.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.98e-05/9.998, allocations: 41.5 kB / 4.022 GB, free: 216.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.203e-06/9.998, allocations: 0 / 4.022 GB, free: 216.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.03231/10.03, allocations: 20.63 MB / 4.043 GB, free: 210.4 MB / 0.8698 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