Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008884/0.0008882, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009393/0.0009396, allocations: 172.7 kB / 15.95 MB, free: 208 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.378/1.378, allocations: 223.3 MB / 240 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.733/2.733, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003809, allocations: 9.156 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2796, allocations: 159.6 MB / 1.058 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1581/0.4377, allocations: 146.8 MB / 1.201 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002824/0.4406, allocations: 1.654 MB / 1.203 GB, free: 0.5195 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003071/0.4409, allocations: 11.88 kB / 1.203 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004401/0.4414, allocations: 107.2 kB / 1.203 GB, free: 412 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001052/0.4424, allocations: 390.2 kB / 1.203 GB, free: 20 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009845/0.4434, allocations: 335.3 kB / 1.204 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003134/0.4466, allocations: 2.977 MB / 1.207 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.4477, allocations: 0.6915 MB / 1.207 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/0.4493, allocations: 0.8637 MB / 1.208 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.4504, allocations: 0.7079 MB / 1.209 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.4506, allocations: 36 kB / 1.209 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.4518, allocations: 0.5574 MB / 1.209 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003401/0.4522, allocations: 278.9 kB / 1.21 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003605/0.4525, allocations: 233.1 kB / 1.21 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.4537, allocations: 1.025 MB / 1.211 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4537, allocations: 0 / 1.211 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4538, allocations: 0 / 1.211 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.032e-05/0.4538, allocations: 0 / 1.211 GB, free: 8.301 MB / 0.9669 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.002218/0.456, allocations: 1.296 MB / 1.212 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.456, allocations: 8.031 kB / 1.212 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008318/0.4569, allocations: 190.4 kB / 1.212 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.4584, allocations: 0.7885 MB / 1.213 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.4584, allocations: 48.94 kB / 1.213 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.123e-05/0.4585, allocations: 56 kB / 1.213 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.4598, allocations: 0.8081 MB / 1.214 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.4598, allocations: 3.984 kB / 1.214 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.433e-05/0.4599, allocations: 24 kB / 1.214 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.4599, allocations: 12 kB / 1.214 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009814/0.4609, allocations: 0.5462 MB / 1.215 GB, free: 4.328 MB / 0.9669 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.004218/0.4651, allocations: 4.603 MB / 1.219 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007123/0.4658, allocations: 422.3 kB / 1.22 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003863/0.4662, allocations: 252.6 kB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002759/0.4665, allocations: 202.2 kB / 1.22 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004837/0.467, allocations: 289.6 kB / 1.22 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=31): time 1.743e-06/0.467, allocations: 0 / 1.22 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=31): time 0.001348/0.4684, allocations: 0.6505 MB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.4685, allocations: 89.09 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.4699, allocations: 1.102 MB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.285e-05/0.4699, allocations: 41.7 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004239/0.4703, allocations: 492.3 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.333e-05/0.4704, allocations: 114.4 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.4705, allocations: 8 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.4706, allocations: 329.9 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.471, allocations: 188.7 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000582/0.4715, allocations: 0.4997 MB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/0.472, allocations: 289.4 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.472, allocations: 4 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001149/0.4732, allocations: 0.6714 MB / 1.225 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001822/0.4734, allocations: 279 kB / 1.225 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.4734, allocations: 4 kB / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4734, allocations: 11.94 kB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000434/0.4739, allocations: 115.8 kB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.118e-05/0.4739, allocations: 11.95 kB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000684/0.4746, allocations: 107.4 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/0.4746, allocations: 28 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.585e-06/0.4747, allocations: 1.562 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009156/0.4756, allocations: 0.5479 MB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.4756, allocations: 4 kB / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.619e-06/0.4756, allocations: 12 kB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003679/0.476, allocations: 108.4 kB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.476, allocations: 15.94 kB / 1.226 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006413/0.4767, allocations: 103.5 kB / 1.226 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/0.4767, allocations: 20 kB / 1.226 GB, free: 8.035 MB / 0.9825 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): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005053/0.4772, allocations: 476.6 kB / 1.226 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.4773, allocations: 98.78 kB / 1.226 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009062/0.4783, allocations: 0.4954 MB / 1.227 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.4783, allocations: 4 kB / 1.227 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.4783, allocations: 0 / 1.227 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.4783, allocations: 11.97 kB / 1.227 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.4803, allocations: 1.395 MB / 1.228 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4803, allocations: 0 / 1.228 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.4806, allocations: 63.89 kB / 1.228 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.4806, allocations: 4 kB / 1.228 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.4806, allocations: 8 kB / 1.228 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.984e-06/0.4807, allocations: 11.92 kB / 1.228 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.4807, allocations: 8.172 kB / 1.228 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008357/0.4815, allocations: 0.61 MB / 1.229 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003095/0.4818, allocations: 211.8 kB / 1.229 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.482, allocations: 8 kB / 1.229 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004726/0.4824, allocations: 59.78 kB / 1.229 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.211e-05/0.4825, allocations: 35.91 kB / 1.229 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.4826, allocations: 16 kB / 1.229 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001025/0.4836, allocations: 0.7836 MB / 1.23 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4836, allocations: 0 / 1.23 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001137/0.4847, allocations: 415.4 kB / 1.23 GB, free: 3.188 MB / 0.9825 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): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004198/0.4852, allocations: 166.3 kB / 1.231 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001382/0.4866, allocations: 0.8025 MB / 1.231 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4866, allocations: 0 / 1.231 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003935/0.487, allocations: 215.6 kB / 1.232 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/0.489, allocations: 464.2 kB / 1.232 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/0.492, allocations: 1.958 MB / 1.234 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008455/0.4929, allocations: 1.177 MB / 1.235 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001244/0.4942, allocations: 419.5 kB / 1.236 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.4944, allocations: 79.36 kB / 1.236 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/0.4944, allocations: 0 / 1.236 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of Templates: time 0.4987/0.9931, allocations: 15.99 MB / 1.251 GB, free: 188.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches