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.001195/0.001195, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001224/0.001224, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.294/1.294, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.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.365/2.365, allocations: 437 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 59.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6777/0.679, allocations: 151.6 MB / 1.167 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1534/0.8324, allocations: 161.6 MB / 1.325 GB, free: 1.652 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002728/0.8352, allocations: 1.751 MB / 1.327 GB, free: 15.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.8354, allocations: 15.88 kB / 1.327 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004935/0.8359, allocations: 170.9 kB / 1.327 GB, free: 15.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.837, allocations: 0.5446 MB / 1.328 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009082/0.8379, allocations: 408.3 kB / 1.328 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002301/0.8402, allocations: 2.557 MB / 1.33 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002437/0.8427, allocations: 2.399 MB / 1.333 GB, free: 9.793 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001452/0.8442, allocations: 1.051 MB / 1.334 GB, free: 8.738 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007861/0.8449, allocations: 0.7078 MB / 1.335 GB, free: 8.027 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.8451, allocations: 60 kB / 1.335 GB, free: 7.969 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.8464, allocations: 0.7523 MB / 1.335 GB, free: 7.215 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002872/0.8466, allocations: 314.9 kB / 1.336 GB, free: 6.906 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005369/0.8472, allocations: 0.5402 MB / 1.336 GB, free: 6.363 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.8486, allocations: 1.415 MB / 1.338 GB, free: 4.945 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.8486, allocations: 4 kB / 1.338 GB, free: 4.941 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8486, allocations: 0 / 1.338 GB, free: 4.941 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.8486, allocations: 0 / 1.338 GB, free: 4.941 MB / 1.061 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.002117/0.8507, allocations: 1.458 MB / 1.339 GB, free: 3.422 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.8508, allocations: 8.031 kB / 1.339 GB, free: 3.414 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007488/0.8515, allocations: 182.5 kB / 1.339 GB, free: 3.234 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.8529, allocations: 0.8645 MB / 1.34 GB, free: 2.312 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/0.8529, allocations: 49 kB / 1.34 GB, free: 2.266 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.94e-05/0.853, allocations: 60 kB / 1.34 GB, free: 2.207 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.8542, allocations: 0.8122 MB / 1.341 GB, free: 1.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.8542, allocations: 7.938 kB / 1.341 GB, free: 1.312 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.302e-05/0.8543, allocations: 24 kB / 1.341 GB, free: 1.289 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.8543, allocations: 15.94 kB / 1.341 GB, free: 1.273 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009482/0.8552, allocations: 0.5618 MB / 1.341 GB, free: 0.707 MB / 1.061 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.003545/0.8588, allocations: 4.215 MB / 1.346 GB, free: 12.22 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007301/0.8595, allocations: 443.2 kB / 1.346 GB, free: 11.78 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004801/0.86, allocations: 345.1 kB / 1.346 GB, free: 11.44 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002718/0.8603, allocations: 198.2 kB / 1.347 GB, free: 11.21 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005072/0.8608, allocations: 319.7 kB / 1.347 GB, free: 10.88 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001447/0.861, allocations: 35.67 kB / 1.347 GB, free: 10.84 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 1.873e-06/0.861, allocations: 0 / 1.347 GB, free: 10.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.004927/0.8659, allocations: 1.668 MB / 1.348 GB, free: 9.145 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.866, allocations: 81.11 kB / 1.349 GB, free: 9.047 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.8672, allocations: 1.151 MB / 1.35 GB, free: 7.879 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/0.8673, allocations: 37.7 kB / 1.35 GB, free: 7.836 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/0.8677, allocations: 492.4 kB / 1.35 GB, free: 7.348 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.045e-05/0.8677, allocations: 106.5 kB / 1.35 GB, free: 7.242 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.8679, allocations: 114.1 kB / 1.35 GB, free: 7.125 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.868, allocations: 334 kB / 1.351 GB, free: 6.793 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000406/0.8684, allocations: 230.9 kB / 1.351 GB, free: 6.566 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006173/0.8691, allocations: 0.55 MB / 1.351 GB, free: 5.883 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009156/0.87, allocations: 0.6745 MB / 1.352 GB, free: 5.129 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.87, allocations: 0 / 1.352 GB, free: 5.129 MB / 1.076 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002221/0.8722, allocations: 1.107 MB / 1.353 GB, free: 4.004 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.8723, allocations: 37.69 kB / 1.353 GB, free: 3.961 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.8723, allocations: 8.109 kB / 1.353 GB, free: 3.953 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.8736, allocations: 368.4 kB / 1.354 GB, free: 3.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/0.874, allocations: 87.86 kB / 1.354 GB, free: 3.504 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009972/0.875, allocations: 1.038 MB / 1.355 GB, free: 2.441 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007312/0.8758, allocations: 59.92 kB / 1.355 GB, free: 2.383 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/0.8758, allocations: 24.28 kB / 1.355 GB, free: 2.359 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006784/0.8765, allocations: 0.5164 MB / 1.355 GB, free: 1.84 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005565/0.8771, allocations: 0.5057 MB / 1.356 GB, free: 1.203 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000778/0.8779, allocations: 0.6074 MB / 1.356 GB, free: 0.5156 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.615e-06/0.8779, allocations: 0 / 1.356 GB, free: 0.5156 MB / 1.076 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001503/0.8794, allocations: 0.9044 MB / 1.357 GB, free: 15.59 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.8794, allocations: 33.7 kB / 1.357 GB, free: 15.55 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.8794, allocations: 4 kB / 1.357 GB, free: 15.55 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005602/0.88, allocations: 245.5 kB / 1.358 GB, free: 15.31 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/0.8804, allocations: 87.86 kB / 1.358 GB, free: 15.22 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003566/0.8839, allocations: 3.276 MB / 1.361 GB, free: 11.81 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007543/0.8847, allocations: 68.23 kB / 1.361 GB, free: 11.75 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.8847, allocations: 28.06 kB / 1.361 GB, free: 11.72 MB / 1.092 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.0001539/0.8849, allocations: 216 kB / 1.361 GB, free: 11.5 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.885, allocations: 102.7 kB / 1.361 GB, free: 11.4 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.8864, allocations: 0.7694 MB / 1.362 GB, free: 10.61 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.8864, allocations: 3.984 kB / 1.362 GB, free: 10.61 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.8864, allocations: 0 / 1.362 GB, free: 10.61 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003388/0.8868, allocations: 223.8 kB / 1.362 GB, free: 10.37 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.8869, allocations: 11.98 kB / 1.362 GB, free: 10.36 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005315/0.8874, allocations: 35.95 kB / 1.362 GB, free: 10.32 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.8875, allocations: 48 kB / 1.362 GB, free: 10.28 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001598/0.8892, allocations: 0.8399 MB / 1.363 GB, free: 9.426 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001249/0.8904, allocations: 0.9966 MB / 1.364 GB, free: 8.414 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000349/0.8908, allocations: 208.2 kB / 1.364 GB, free: 8.211 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009252/0.8917, allocations: 0.8197 MB / 1.365 GB, free: 7.383 MB / 1.092 GB Notification: Performance of Backend: time 5.01e-07/0.8917, allocations: 4 kB / 1.365 GB, free: 7.379 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002655/0.8944, allocations: 1.211 MB / 1.366 GB, free: 6.145 MB / 1.092 GB Notification: Performance of SimCode: time 0.00371/0.8981, allocations: 2.694 MB / 1.369 GB, free: 3.402 MB / 1.092 GB Notification: Performance of Templates: time 0.03104/0.9292, allocations: 21.78 MB / 1.39 GB, free: 13.83 MB / 1.123 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/jenkins1/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