Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 99.94 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.464/2.464, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003047, allocations: 15.94 kB / 0.8708 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6791/0.6794, allocations: 153.7 MB / 1.021 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1446/0.824, allocations: 135.7 MB / 1.153 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003984/0.828, allocations: 3.124 MB / 1.156 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002292/0.8283, allocations: 7.938 kB / 1.156 GB, free: 5.902 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005479/0.8288, allocations: 179.2 kB / 1.157 GB, free: 5.727 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.8301, allocations: 0.5024 MB / 1.157 GB, free: 5.223 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.8313, allocations: 450 kB / 1.157 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001773/0.8331, allocations: 1.506 MB / 1.159 GB, free: 3.281 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008741/0.834, allocations: 0.6994 MB / 1.16 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009602/0.8349, allocations: 0.7046 MB / 1.16 GB, free: 1.859 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005261/0.8355, allocations: 485.9 kB / 1.161 GB, free: 1.383 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.313e-05/0.8356, allocations: 36 kB / 1.161 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008124/0.8364, allocations: 419.4 kB / 1.161 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.8366, allocations: 255.1 kB / 1.161 GB, free: 0.6875 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.8369, allocations: 229.1 kB / 1.162 GB, free: 468 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009241/0.8378, allocations: 0.9742 MB / 1.163 GB, free: 15.48 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.8378, allocations: 3.938 kB / 1.163 GB, free: 15.48 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8378, allocations: 0 / 1.163 GB, free: 15.48 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.8378, allocations: 0 / 1.163 GB, free: 15.48 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002054/0.8399, allocations: 1.288 MB / 1.164 GB, free: 14.13 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.8399, allocations: 15.98 kB / 1.164 GB, free: 14.11 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007372/0.8407, allocations: 190.4 kB / 1.164 GB, free: 13.93 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.8422, allocations: 0.7924 MB / 1.165 GB, free: 13.08 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.545e-05/0.8422, allocations: 45 kB / 1.165 GB, free: 13.03 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.663e-05/0.8423, allocations: 60 kB / 1.165 GB, free: 12.97 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.8434, allocations: 0.7888 MB / 1.166 GB, free: 12.11 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.8434, allocations: 7.938 kB / 1.166 GB, free: 12.1 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.519e-05/0.8435, allocations: 20 kB / 1.166 GB, free: 12.08 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.8435, allocations: 20 kB / 1.166 GB, free: 12.06 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008878/0.8444, allocations: 0.5383 MB / 1.166 GB, free: 11.52 MB / 0.92 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.003993/0.8484, allocations: 4.599 MB / 1.171 GB, free: 6.543 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007311/0.8492, allocations: 438.1 kB / 1.171 GB, free: 6.105 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-05/0.8492, allocations: 19.97 kB / 1.171 GB, free: 6.086 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005088/0.8497, allocations: 305.6 kB / 1.172 GB, free: 5.766 MB / 0.92 GB Notification: Performance of pre-optimization done (n=31): time 2.454e-06/0.8498, allocations: 224 / 1.172 GB, free: 5.766 MB / 0.92 GB Notification: Performance of matching and sorting (n=31): time 0.003914/0.8537, allocations: 1.334 MB / 1.173 GB, free: 4.402 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/0.8538, allocations: 114.7 kB / 1.173 GB, free: 4.266 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.8552, allocations: 1.118 MB / 1.174 GB, free: 3.129 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.323e-05/0.8552, allocations: 33.7 kB / 1.174 GB, free: 3.09 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004392/0.8557, allocations: 496.1 kB / 1.175 GB, free: 2.598 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.8558, allocations: 106.5 kB / 1.175 GB, free: 2.492 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.8558, allocations: 8 kB / 1.175 GB, free: 2.484 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.856, allocations: 333.9 kB / 1.175 GB, free: 2.152 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/0.8564, allocations: 180.7 kB / 1.175 GB, free: 1.977 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006094/0.857, allocations: 0.494 MB / 1.176 GB, free: 1.344 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/0.8575, allocations: 305.6 kB / 1.176 GB, free: 1.039 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.8575, allocations: 4 kB / 1.176 GB, free: 1.035 MB / 0.92 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002285/0.8598, allocations: 0.9709 MB / 1.177 GB, free: 48 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008226/0.8606, allocations: 2.128 MB / 1.179 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.8606, allocations: 8 kB / 1.179 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001396/0.862, allocations: 336.4 kB / 1.179 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.8623, allocations: 63.91 kB / 1.179 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.8635, allocations: 1.019 MB / 1.18 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000959/0.8644, allocations: 108.1 kB / 1.18 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/0.8645, allocations: 27.98 kB / 1.18 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.8645, allocations: 4 kB / 1.18 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001367/0.8659, allocations: 0.7278 MB / 1.181 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.8659, allocations: 4.625 kB / 1.181 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005335/0.8665, allocations: 216.6 kB / 1.181 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.8667, allocations: 67.84 kB / 1.181 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003688/0.8704, allocations: 3.178 MB / 1.185 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008513/0.8712, allocations: 99.53 kB / 1.185 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-05/0.8713, allocations: 23.98 kB / 1.185 GB, free: 7.695 MB / 0.9356 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005907/0.8719, allocations: 456.8 kB / 1.185 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.872, allocations: 102.8 kB / 1.185 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.8733, allocations: 0.7037 MB / 1.186 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.8733, allocations: 7.984 kB / 1.186 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.8733, allocations: 4 kB / 1.186 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.8734, allocations: 0 / 1.186 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.8751, allocations: 1.103 MB / 1.187 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.8751, allocations: 3.938 kB / 1.187 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.8752, allocations: 27.98 kB / 1.187 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004739/0.8757, allocations: 232.8 kB / 1.187 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.8757, allocations: 11.94 kB / 1.187 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008824/0.8766, allocations: 0.9713 MB / 1.188 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.8766, allocations: 4.031 kB / 1.188 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.878, allocations: 0.8633 MB / 1.189 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004135/0.8784, allocations: 223.8 kB / 1.189 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.8786, allocations: 12 kB / 1.189 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000494/0.8791, allocations: 59.75 kB / 1.189 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.733e-05/0.8791, allocations: 27.95 kB / 1.189 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.8792, allocations: 8 kB / 1.189 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001023/0.8802, allocations: 0.7877 MB / 1.19 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8802, allocations: 0 / 1.19 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001273/0.8815, allocations: 459.4 kB / 1.191 GB, free: 1.414 MB / 0.9356 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004187/0.8819, allocations: 170.9 kB / 1.191 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001922/0.8839, allocations: 1.052 MB / 1.192 GB, free: 168 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8839, allocations: 0 / 1.192 GB, free: 168 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004965/0.8844, allocations: 243.5 kB / 1.192 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.8864, allocations: 463.3 kB / 1.192 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.8892, allocations: 1.976 MB / 1.194 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007445/0.8899, allocations: 1.204 MB / 1.196 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009067/0.8908, allocations: 319.6 kB / 1.196 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.891, allocations: 59.42 kB / 1.196 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of SimCode: time 7.72e-07/0.891, allocations: 0 / 1.196 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of Templates: time 0.02794/0.9189, allocations: 18.37 MB / 1.214 GB, free: 9.684 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches