Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001533/0.001533, allocations: 115.9 kB / 16.42 MB, free: 6.465 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.001753/0.001753, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.126/2.126, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 59.91 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7101/0.7116, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.173/0.8846, allocations: 161.6 MB / 1.246 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002827/0.8875, allocations: 1.765 MB / 1.248 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002185/0.8877, allocations: 10.81 kB / 1.248 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005144/0.8883, allocations: 166.2 kB / 1.248 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.8895, allocations: 0.5541 MB / 1.249 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009531/0.8904, allocations: 390.3 kB / 1.249 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002514/0.893, allocations: 2.564 MB / 1.252 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002511/0.8955, allocations: 2.408 MB / 1.254 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00144/0.8969, allocations: 1.039 MB / 1.255 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007353/0.8977, allocations: 0.7156 MB / 1.256 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.8978, allocations: 60 kB / 1.256 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.8991, allocations: 0.7523 MB / 1.257 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002776/0.8994, allocations: 310.9 kB / 1.257 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005426/0.8999, allocations: 0.5479 MB / 1.257 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.9013, allocations: 1.423 MB / 1.259 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.9014, allocations: 0 / 1.259 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9014, allocations: 0 / 1.259 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.9014, allocations: 0 / 1.259 GB, free: 15.43 MB / 0.9981 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.002098/0.9035, allocations: 1.447 MB / 1.26 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.9035, allocations: 12.03 kB / 1.26 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007276/0.9043, allocations: 182.5 kB / 1.26 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.9056, allocations: 0.8606 MB / 1.261 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.828e-05/0.9056, allocations: 45 kB / 1.261 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.812e-05/0.9057, allocations: 60 kB / 1.261 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.9068, allocations: 0.8239 MB / 1.262 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.9069, allocations: 4 kB / 1.262 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.082e-05/0.9069, allocations: 16 kB / 1.262 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.907, allocations: 16 kB / 1.262 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009171/0.9079, allocations: 0.5657 MB / 1.263 GB, free: 11.2 MB / 0.9981 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.003482/0.9114, allocations: 4.211 MB / 1.267 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007215/0.9121, allocations: 443.8 kB / 1.267 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004731/0.9126, allocations: 349.1 kB / 1.268 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002743/0.9129, allocations: 190.2 kB / 1.268 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000498/0.9134, allocations: 315.1 kB / 1.268 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000136/0.9135, allocations: 31.69 kB / 1.268 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 4.569e-06/0.9135, allocations: 208 / 1.268 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.004915/0.9185, allocations: 1.682 MB / 1.27 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.9185, allocations: 85.11 kB / 1.27 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.9198, allocations: 1.151 MB / 1.271 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.452e-05/0.9198, allocations: 41.7 kB / 1.271 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000354/0.9202, allocations: 480.5 kB / 1.272 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.982e-05/0.9203, allocations: 118.4 kB / 1.272 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.9205, allocations: 118 kB / 1.272 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.092e-05/0.9206, allocations: 322 kB / 1.272 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.921, allocations: 234.9 kB / 1.272 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006031/0.9216, allocations: 0.5501 MB / 1.273 GB, free: 384 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009061/0.9225, allocations: 0.6704 MB / 1.273 GB, free: 15.62 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.9225, allocations: 0 / 1.273 GB, free: 15.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002195/0.9247, allocations: 1.103 MB / 1.275 GB, free: 14.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/0.9248, allocations: 33.7 kB / 1.275 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.9248, allocations: 4 kB / 1.275 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/0.9261, allocations: 377 kB / 1.275 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/0.9265, allocations: 95.67 kB / 1.275 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.9276, allocations: 1.039 MB / 1.276 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00074/0.9283, allocations: 56 kB / 1.276 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-05/0.9284, allocations: 27.98 kB / 1.276 GB, free: 12.85 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000684/0.9291, allocations: 0.5164 MB / 1.277 GB, free: 12.33 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005516/0.9296, allocations: 0.503 MB / 1.277 GB, free: 11.7 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007817/0.9304, allocations: 0.6035 MB / 1.278 GB, free: 11.01 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.779e-06/0.9305, allocations: 4 kB / 1.278 GB, free: 11.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.00151/0.932, allocations: 0.8965 MB / 1.279 GB, free: 10.09 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.932, allocations: 37.69 kB / 1.279 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.932, allocations: 4 kB / 1.279 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005526/0.9326, allocations: 245.2 kB / 1.279 GB, free: 9.805 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.9329, allocations: 84.05 kB / 1.279 GB, free: 9.723 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003609/0.9366, allocations: 3.274 MB / 1.282 GB, free: 6.309 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007555/0.9373, allocations: 72.25 kB / 1.282 GB, free: 6.238 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.206e-05/0.9374, allocations: 20 kB / 1.282 GB, free: 6.219 MB / 1.014 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.0001701/0.9376, allocations: 222.8 kB / 1.282 GB, free: 5.996 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.9377, allocations: 106.7 kB / 1.283 GB, free: 5.891 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.9391, allocations: 0.7811 MB / 1.283 GB, free: 5.102 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.9391, allocations: 0 / 1.283 GB, free: 5.102 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.9391, allocations: 0 / 1.283 GB, free: 5.102 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000342/0.9394, allocations: 223.8 kB / 1.284 GB, free: 4.863 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.9396, allocations: 12 kB / 1.284 GB, free: 4.852 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005347/0.9401, allocations: 39.88 kB / 1.284 GB, free: 4.812 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.9402, allocations: 47.86 kB / 1.284 GB, free: 4.766 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001603/0.9418, allocations: 0.8378 MB / 1.284 GB, free: 3.918 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001259/0.9431, allocations: 0.9927 MB / 1.285 GB, free: 2.91 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003531/0.9435, allocations: 203.8 kB / 1.286 GB, free: 2.711 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009945/0.9445, allocations: 0.808 MB / 1.286 GB, free: 1.895 MB / 1.014 GB Notification: Performance of Backend: time 2.91e-07/0.9445, allocations: 0 / 1.286 GB, free: 1.895 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002698/0.9472, allocations: 1.209 MB / 1.288 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of SimCode: time 0.003919/0.9511, allocations: 2.697 MB / 1.29 GB, free: 13.91 MB / 1.029 GB Notification: Performance of Templates: time 0.03282/0.984, allocations: 21.78 MB / 1.311 GB, free: 8.34 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches