Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 98.72 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 184.9 kB / 16.92 MB, free: 6.895 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.377/1.377, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.534/2.534, allocations: 437.8 MB / 0.7128 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004213, allocations: 8 kB / 0.8735 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6938/0.6943, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1585/0.8529, allocations: 157.3 MB / 1.177 GB, free: 2.012 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004952/0.8579, allocations: 3.603 MB / 1.181 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004147/0.8583, allocations: 11.88 kB / 1.181 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005774/0.8589, allocations: 131.2 kB / 1.181 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.8603, allocations: 0.4941 MB / 1.181 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.8615, allocations: 390.6 kB / 1.182 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003316/0.8648, allocations: 3.511 MB / 1.185 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002757/0.8676, allocations: 2.222 MB / 1.187 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002107/0.8697, allocations: 0.9063 MB / 1.188 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.871, allocations: 0.7077 MB / 1.189 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002021/0.8712, allocations: 36 kB / 1.189 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.873, allocations: 0.799 MB / 1.19 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004444/0.8734, allocations: 282.9 kB / 1.19 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009915/0.8744, allocations: 0.5301 MB / 1.191 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.8759, allocations: 1.021 MB / 1.192 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.8759, allocations: 4 kB / 1.192 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8759, allocations: 0 / 1.192 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.019e-05/0.876, allocations: 0 / 1.192 GB, free: 3.328 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002522/0.8785, allocations: 1.295 MB / 1.193 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.8786, allocations: 15.98 kB / 1.193 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009197/0.8795, allocations: 190.5 kB / 1.193 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.8809, allocations: 0.8062 MB / 1.194 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/0.881, allocations: 48.94 kB / 1.194 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.794e-05/0.8811, allocations: 56 kB / 1.194 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.8823, allocations: 0.8278 MB / 1.195 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.8823, allocations: 0 / 1.195 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.399e-05/0.8824, allocations: 27.94 kB / 1.195 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.8824, allocations: 12 kB / 1.195 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009108/0.8833, allocations: 0.5774 MB / 1.195 GB, free: 15.27 MB / 0.9512 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.003953/0.8873, allocations: 4.258 MB / 1.2 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007279/0.8881, allocations: 454.7 kB / 1.2 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004793/0.8885, allocations: 354 kB / 1.2 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002824/0.8888, allocations: 202.2 kB / 1.2 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005121/0.8894, allocations: 327.6 kB / 1.201 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002724/0.8896, allocations: 35.69 kB / 1.201 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=33): time 1.793e-06/0.8897, allocations: 4 kB / 1.201 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.001376/0.891, allocations: 0.7148 MB / 1.202 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.8911, allocations: 85.05 kB / 1.202 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.8925, allocations: 1.147 MB / 1.203 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/0.8925, allocations: 37.7 kB / 1.203 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/0.8929, allocations: 492.4 kB / 1.203 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.5e-05/0.893, allocations: 118.4 kB / 1.203 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.469e-05/0.8931, allocations: 41.7 kB / 1.203 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.8932, allocations: 326 kB / 1.204 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003854/0.8936, allocations: 232.9 kB / 1.204 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006128/0.8942, allocations: 0.546 MB / 1.204 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009453/0.8952, allocations: 0.6837 MB / 1.205 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.8952, allocations: 4 kB / 1.205 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001222/0.8964, allocations: 0.7788 MB / 1.206 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001833/0.8966, allocations: 279.2 kB / 1.206 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.8966, allocations: 4 kB / 1.206 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.8967, allocations: 11.94 kB / 1.206 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005175/0.8972, allocations: 116 kB / 1.206 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/0.8972, allocations: 11.98 kB / 1.206 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008349/0.8981, allocations: 83.72 kB / 1.206 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.987e-05/0.8981, allocations: 31.98 kB / 1.206 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/0.8982, allocations: 4 kB / 1.206 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009469/0.8991, allocations: 0.5829 MB / 1.207 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.8991, allocations: 4 kB / 1.207 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.8991, allocations: 8 kB / 1.207 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.8996, allocations: 120.5 kB / 1.207 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.8996, allocations: 15.92 kB / 1.207 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000815/0.9004, allocations: 79.91 kB / 1.207 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.54e-05/0.9005, allocations: 20 kB / 1.207 GB, free: 2.426 MB / 0.9512 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_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005338/0.901, allocations: 476.6 kB / 1.208 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.9012, allocations: 102.7 kB / 1.208 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.9022, allocations: 0.5583 MB / 1.208 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.9022, allocations: 4 kB / 1.208 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.9023, allocations: 0 / 1.208 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.9023, allocations: 0 / 1.208 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.9045, allocations: 1.503 MB / 1.21 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.9045, allocations: 0 / 1.21 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/0.9049, allocations: 79.81 kB / 1.21 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.9049, allocations: 4 kB / 1.21 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.9049, allocations: 8 kB / 1.21 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.9049, allocations: 8.156 kB / 1.21 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.9049, allocations: 4 kB / 1.21 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008792/0.9058, allocations: 0.6664 MB / 1.211 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003672/0.9062, allocations: 231.8 kB / 1.211 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.9064, allocations: 12 kB / 1.211 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006789/0.907, allocations: 59.83 kB / 1.211 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-05/0.9071, allocations: 35.91 kB / 1.211 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.9072, allocations: 12 kB / 1.211 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001055/0.9082, allocations: 0.8159 MB / 1.212 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9082, allocations: 0 / 1.212 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001255/0.9095, allocations: 427.5 kB / 1.212 GB, free: 13.29 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_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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000481/0.91, allocations: 179 kB / 1.212 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001536/0.9115, allocations: 0.9189 MB / 1.213 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.9116, allocations: 3.938 kB / 1.213 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003818/0.9119, allocations: 229.5 kB / 1.213 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003563/0.9155, allocations: 0.6353 MB / 1.214 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/0.9187, allocations: 2.124 MB / 1.216 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007483/0.9195, allocations: 1.182 MB / 1.217 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.9197, allocations: 79.42 kB / 1.217 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of SimCode: time 5.61e-07/0.9197, allocations: 0 / 1.217 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of Templates: time 0.02601/0.9457, allocations: 17.05 MB / 1.234 GB, free: 6.926 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches