Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001051, allocations: 114.1 kB / 16.38 MB, free: 6.355 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.001019/0.001019, allocations: 188.2 kB / 17.31 MB, free: 5.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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.434/2.434, allocations: 442.7 MB / 0.7167 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.91 kB / 1.027 GB, free: 1.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7013/0.7027, allocations: 153 MB / 1.177 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.1699/0.8726, allocations: 167.8 MB / 1.341 GB, free: 2.344 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005568/0.8782, allocations: 4.078 MB / 1.345 GB, free: 14.25 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000473/0.8787, allocations: 15.88 kB / 1.345 GB, free: 14.24 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007203/0.8794, allocations: 242.5 kB / 1.345 GB, free: 14 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.8811, allocations: 0.6767 MB / 1.345 GB, free: 13.32 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.8825, allocations: 483.6 kB / 1.346 GB, free: 12.85 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002988/0.8854, allocations: 2.773 MB / 1.349 GB, free: 10.07 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002885/0.8883, allocations: 2.559 MB / 1.351 GB, free: 7.5 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002079/0.8904, allocations: 1.269 MB / 1.352 GB, free: 6.227 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.8917, allocations: 0.8559 MB / 1.353 GB, free: 5.367 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002768/0.892, allocations: 76 kB / 1.353 GB, free: 5.293 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.8937, allocations: 0.8147 MB / 1.354 GB, free: 4.477 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004997/0.8942, allocations: 362.8 kB / 1.354 GB, free: 4.121 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009111/0.8951, allocations: 0.6218 MB / 1.355 GB, free: 3.496 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.8969, allocations: 1.61 MB / 1.357 GB, free: 1.883 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.228e-05/0.8969, allocations: 7.984 kB / 1.357 GB, free: 1.875 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.532e-06/0.8969, allocations: 4 kB / 1.357 GB, free: 1.871 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.8969, allocations: 0 / 1.357 GB, free: 1.871 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002426/0.8994, allocations: 1.611 MB / 1.358 GB, free: 200 kB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.8994, allocations: 8.031 kB / 1.358 GB, free: 192 kB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008074/0.9002, allocations: 202.5 kB / 1.358 GB, free: 15.98 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.9015, allocations: 0.9358 MB / 1.359 GB, free: 14.99 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/0.9016, allocations: 45.31 kB / 1.359 GB, free: 14.95 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.9017, allocations: 64 kB / 1.359 GB, free: 14.89 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.9031, allocations: 0.987 MB / 1.36 GB, free: 13.82 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.9031, allocations: 7.938 kB / 1.36 GB, free: 13.82 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.656e-05/0.9032, allocations: 23.94 kB / 1.36 GB, free: 13.79 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.9032, allocations: 16 kB / 1.36 GB, free: 13.78 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.9045, allocations: 0.7999 MB / 1.361 GB, free: 12.98 MB / 1.092 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.004145/0.9086, allocations: 4.769 MB / 1.366 GB, free: 7.867 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00235/0.911, allocations: 4.008 MB / 1.37 GB, free: 3.027 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004856/0.9115, allocations: 345.7 kB / 1.37 GB, free: 2.688 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/0.9118, allocations: 198.5 kB / 1.37 GB, free: 2.457 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005227/0.9123, allocations: 326.7 kB / 1.371 GB, free: 2.121 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001749/0.9125, allocations: 31.69 kB / 1.371 GB, free: 2.09 MB / 1.092 GB Notification: Performance of pre-optimization done (n=35): time 2.064e-06/0.9125, allocations: 4 kB / 1.371 GB, free: 2.086 MB / 1.092 GB Notification: Performance of matching and sorting (n=35): time 0.005085/0.9176, allocations: 1.666 MB / 1.372 GB, free: 400 kB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.9177, allocations: 85.11 kB / 1.372 GB, free: 296 kB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.919, allocations: 1.189 MB / 1.374 GB, free: 15.09 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.9191, allocations: 45.58 kB / 1.374 GB, free: 15.04 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003985/0.9195, allocations: 0.5083 MB / 1.374 GB, free: 14.52 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.918e-05/0.9196, allocations: 126.3 kB / 1.374 GB, free: 14.4 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.9197, allocations: 114.2 kB / 1.374 GB, free: 14.28 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.9198, allocations: 326 kB / 1.375 GB, free: 13.96 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004159/0.9203, allocations: 238.9 kB / 1.375 GB, free: 13.72 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006394/0.9209, allocations: 0.5527 MB / 1.375 GB, free: 13.03 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009349/0.9219, allocations: 0.6893 MB / 1.376 GB, free: 12.26 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.9219, allocations: 4 kB / 1.376 GB, free: 12.26 MB / 1.107 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002416/0.9243, allocations: 1.131 MB / 1.377 GB, free: 11.11 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.9243, allocations: 41.62 kB / 1.377 GB, free: 11.06 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.9244, allocations: 4 kB / 1.377 GB, free: 11.06 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/0.926, allocations: 468.7 kB / 1.378 GB, free: 10.6 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.9263, allocations: 67.89 kB / 1.378 GB, free: 10.54 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.9277, allocations: 1.121 MB / 1.379 GB, free: 9.391 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007871/0.9285, allocations: 63.92 kB / 1.379 GB, free: 9.328 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.012e-05/0.9286, allocations: 24 kB / 1.379 GB, free: 9.305 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007216/0.9293, allocations: 0.5282 MB / 1.379 GB, free: 8.77 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005793/0.9299, allocations: 0.5175 MB / 1.38 GB, free: 8.113 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007967/0.9307, allocations: 0.6109 MB / 1.38 GB, free: 7.422 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.977e-06/0.9307, allocations: 4 kB / 1.38 GB, free: 7.418 MB / 1.107 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001623/0.9323, allocations: 0.9119 MB / 1.381 GB, free: 6.488 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.9324, allocations: 33.7 kB / 1.381 GB, free: 6.449 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.9324, allocations: 8.312 kB / 1.381 GB, free: 6.441 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005614/0.933, allocations: 251.7 kB / 1.382 GB, free: 6.195 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/0.9333, allocations: 75.75 kB / 1.382 GB, free: 6.121 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00389/0.9372, allocations: 3.37 MB / 1.385 GB, free: 2.617 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008335/0.938, allocations: 67.92 kB / 1.385 GB, free: 2.551 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.9381, allocations: 24 kB / 1.385 GB, free: 2.527 MB / 1.107 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 {(11,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001983/0.9383, allocations: 227.1 kB / 1.385 GB, free: 2.301 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.9384, allocations: 110.8 kB / 1.385 GB, free: 2.191 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.9399, allocations: 0.8124 MB / 1.386 GB, free: 1.359 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.9399, allocations: 0 / 1.386 GB, free: 1.359 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.9399, allocations: 0 / 1.386 GB, free: 1.359 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000306/0.9402, allocations: 227.8 kB / 1.386 GB, free: 1.117 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.9404, allocations: 7.938 kB / 1.386 GB, free: 1.109 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005648/0.9409, allocations: 43.94 kB / 1.386 GB, free: 1.066 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.941, allocations: 43.92 kB / 1.387 GB, free: 1.023 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001559/0.9426, allocations: 0.8593 MB / 1.387 GB, free: 156 kB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001314/0.9439, allocations: 1.004 MB / 1.388 GB, free: 15.13 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003464/0.9443, allocations: 204.3 kB / 1.389 GB, free: 14.93 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001005/0.9453, allocations: 0.8329 MB / 1.389 GB, free: 14.09 MB / 1.123 GB Notification: Performance of Backend: time 4.71e-07/0.9453, allocations: 4 kB / 1.389 GB, free: 14.09 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003362/0.9487, allocations: 1.375 MB / 1.391 GB, free: 12.68 MB / 1.123 GB Notification: Performance of SimCode: time 0.004274/0.953, allocations: 2.927 MB / 1.394 GB, free: 9.711 MB / 1.123 GB Notification: Performance of Templates: time 0.03341/0.9864, allocations: 21.85 MB / 1.415 GB, free: 4.066 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches