Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008006/0.0008032, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.005229/0.005229, allocations: 172.3 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.546/2.546, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003654, allocations: 11.94 kB / 0.8728 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6386/0.639, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1784/0.8174, allocations: 157.3 MB / 1.177 GB, free: 1.91 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003262/0.8207, allocations: 1.755 MB / 1.178 GB, free: 156 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003212/0.8211, allocations: 15.94 kB / 1.178 GB, free: 140 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005282/0.8216, allocations: 131.2 kB / 1.178 GB, free: 8 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.8231, allocations: 0.4902 MB / 1.179 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.8241, allocations: 362.8 kB / 1.179 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003684/0.8278, allocations: 3.488 MB / 1.183 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002932/0.8307, allocations: 2.218 MB / 1.185 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001956/0.8327, allocations: 0.9025 MB / 1.186 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009053/0.8336, allocations: 0.7194 MB / 1.186 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.08e-05/0.8337, allocations: 32 kB / 1.187 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.8353, allocations: 0.8028 MB / 1.187 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002769/0.8356, allocations: 274.9 kB / 1.188 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006607/0.8362, allocations: 0.534 MB / 1.188 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.8378, allocations: 1.382 MB / 1.189 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8378, allocations: 0 / 1.189 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8378, allocations: 0 / 1.189 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.8378, allocations: 0 / 1.189 GB, free: 4.773 MB / 0.9356 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.002241/0.84, allocations: 1.288 MB / 1.191 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.8401, allocations: 15.98 kB / 1.191 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008934/0.841, allocations: 190.4 kB / 1.191 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.8422, allocations: 0.8022 MB / 1.192 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.183e-05/0.8423, allocations: 49 kB / 1.192 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.8424, allocations: 56 kB / 1.192 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.8438, allocations: 0.8316 MB / 1.193 GB, free: 1.348 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.8438, allocations: 3.938 kB / 1.193 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.008e-05/0.8439, allocations: 24 kB / 1.193 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.8439, allocations: 16 kB / 1.193 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.8451, allocations: 0.5735 MB / 1.193 GB, free: 0.7305 MB / 0.9356 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.004365/0.8494, allocations: 4.246 MB / 1.197 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007717/0.8502, allocations: 455.7 kB / 1.198 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006235/0.8509, allocations: 353.1 kB / 1.198 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003883/0.8513, allocations: 194.2 kB / 1.198 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006766/0.852, allocations: 327.1 kB / 1.199 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002442/0.8522, allocations: 39.53 kB / 1.199 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=33): time 2.635e-06/0.8522, allocations: 0 / 1.199 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.00519/0.8574, allocations: 1.699 MB / 1.2 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.8575, allocations: 89.03 kB / 1.2 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.8588, allocations: 1.143 MB / 1.201 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.8589, allocations: 45.69 kB / 1.202 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.8593, allocations: 488.4 kB / 1.202 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.198e-05/0.8594, allocations: 118.3 kB / 1.202 GB, free: 7.164 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-05/0.8595, allocations: 49.69 kB / 1.202 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.8596, allocations: 326 kB / 1.202 GB, free: 6.785 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/0.86, allocations: 236.9 kB / 1.203 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006404/0.8606, allocations: 0.5384 MB / 1.203 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009499/0.8616, allocations: 0.6879 MB / 1.204 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.8616, allocations: 112 / 1.204 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002253/0.8639, allocations: 1.128 MB / 1.205 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001692/0.8641, allocations: 274.7 kB / 1.205 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.8641, allocations: 7.984 kB / 1.205 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.8654, allocations: 371.2 kB / 1.206 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/0.8658, allocations: 103.8 kB / 1.206 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.8669, allocations: 1.036 MB / 1.207 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008142/0.8677, allocations: 88.11 kB / 1.207 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.404e-05/0.8678, allocations: 23.98 kB / 1.207 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.091e-06/0.8678, allocations: 4 kB / 1.207 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001429/0.8692, allocations: 0.7903 MB / 1.208 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.8692, allocations: 8 kB / 1.208 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005577/0.8698, allocations: 239.6 kB / 1.208 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/0.8702, allocations: 99.86 kB / 1.208 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003531/0.8737, allocations: 3.024 MB / 1.211 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007883/0.8745, allocations: 75.98 kB / 1.211 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/0.8746, allocations: 20 kB / 1.211 GB, free: 13.58 MB / 0.9669 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 (pulse_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0005444/0.8751, allocations: 476.7 kB / 1.211 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.8753, allocations: 102.7 kB / 1.212 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.8767, allocations: 0.7928 MB / 1.212 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.8767, allocations: 4 kB / 1.212 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.8767, allocations: 0 / 1.212 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.8767, allocations: 3.984 kB / 1.212 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/0.8792, allocations: 1.735 MB / 1.214 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.8792, allocations: 4 kB / 1.214 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/0.8794, allocations: 56.17 kB / 1.214 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004966/0.8799, allocations: 252.5 kB / 1.214 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.88, allocations: 11.94 kB / 1.214 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009438/0.8809, allocations: 1.003 MB / 1.215 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.881, allocations: 8.016 kB / 1.215 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.8822, allocations: 0.9127 MB / 1.216 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003095/0.8826, allocations: 231.8 kB / 1.216 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.8827, allocations: 8 kB / 1.216 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006065/0.8833, allocations: 55.84 kB / 1.216 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.552e-05/0.8834, allocations: 35.95 kB / 1.217 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.8834, allocations: 8 kB / 1.217 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000995/0.8844, allocations: 0.8196 MB / 1.217 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3e-07/0.8844, allocations: 4 kB / 1.217 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001295/0.8857, allocations: 463.5 kB / 1.218 GB, free: 6.43 MB / 0.9669 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004507/0.8862, allocations: 175.4 kB / 1.218 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002131/0.8883, allocations: 1.157 MB / 1.219 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.8883, allocations: 0 / 1.219 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000581/0.8889, allocations: 255 kB / 1.219 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00346/0.8924, allocations: 0.6294 MB / 1.22 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/0.8953, allocations: 2.077 MB / 1.222 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007524/0.8961, allocations: 1.189 MB / 1.223 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001005/0.8971, allocations: 320.4 kB / 1.223 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.8973, allocations: 59.44 kB / 1.223 GB, free: 480 kB / 0.9669 GB Notification: Performance of SimCode: time 7.31e-07/0.8973, allocations: 0 / 1.223 GB, free: 480 kB / 0.9669 GB Notification: Performance of Templates: time 0.03667/0.9339, allocations: 21.22 MB / 1.244 GB, free: 11.48 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches