Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_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_9_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.001079/0.001079, allocations: 110.4 kB / 16.42 MB, free: 6.512 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.001057/0.001057, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.17 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.155/2.155, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 71.89 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7101/0.7113, allocations: 140.4 MB / 1.089 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.1815/0.8929, allocations: 167.8 MB / 1.252 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006248/0.8992, allocations: 4.077 MB / 1.256 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006821/0.8999, allocations: 15.88 kB / 1.256 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009046/0.9009, allocations: 242.5 kB / 1.257 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001742/0.9027, allocations: 0.7079 MB / 1.257 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.9039, allocations: 490.4 kB / 1.258 GB, free: 496 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002862/0.9068, allocations: 2.785 MB / 1.261 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002884/0.9097, allocations: 2.556 MB / 1.263 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002174/0.9119, allocations: 1.281 MB / 1.264 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.9131, allocations: 0.8597 MB / 1.265 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001857/0.9133, allocations: 83.94 kB / 1.265 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.9148, allocations: 0.8147 MB / 1.266 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003787/0.9152, allocations: 370.7 kB / 1.266 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008261/0.9161, allocations: 0.6179 MB / 1.267 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001918/0.918, allocations: 1.622 MB / 1.269 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.918, allocations: 0 / 1.269 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.805e-06/0.918, allocations: 0 / 1.269 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.89e-05/0.9181, allocations: 3.938 kB / 1.269 GB, free: 5.461 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002861/0.9209, allocations: 1.603 MB / 1.27 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.921, allocations: 8.031 kB / 1.27 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008743/0.9219, allocations: 198.3 kB / 1.27 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/0.9237, allocations: 0.9514 MB / 1.271 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/0.9237, allocations: 41.31 kB / 1.271 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.9238, allocations: 71.94 kB / 1.271 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.9255, allocations: 0.9909 MB / 1.272 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.9255, allocations: 0 / 1.272 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-05/0.9256, allocations: 24 kB / 1.272 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.9256, allocations: 12 kB / 1.272 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.9269, allocations: 0.796 MB / 1.273 GB, free: 0.5742 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.004949/0.9319, allocations: 4.769 MB / 1.278 GB, free: 11.46 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/0.9343, allocations: 4.008 MB / 1.282 GB, free: 6.621 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005118/0.9348, allocations: 342.2 kB / 1.282 GB, free: 6.285 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002859/0.9351, allocations: 190.5 kB / 1.282 GB, free: 6.062 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005241/0.9356, allocations: 326.6 kB / 1.283 GB, free: 5.727 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001969/0.9358, allocations: 31.69 kB / 1.283 GB, free: 5.695 MB / 1.014 GB Notification: Performance of pre-optimization done (n=35): time 2.174e-06/0.9358, allocations: 3.938 kB / 1.283 GB, free: 5.691 MB / 1.014 GB Notification: Performance of matching and sorting (n=35): time 0.005199/0.941, allocations: 1.676 MB / 1.284 GB, free: 3.984 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.9411, allocations: 93.05 kB / 1.284 GB, free: 3.875 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.9425, allocations: 1.181 MB / 1.285 GB, free: 2.68 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.022e-05/0.9425, allocations: 41.7 kB / 1.285 GB, free: 2.633 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000397/0.9429, allocations: 0.5044 MB / 1.286 GB, free: 2.125 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.943, allocations: 126.3 kB / 1.286 GB, free: 2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.9432, allocations: 114.2 kB / 1.286 GB, free: 1.883 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.9433, allocations: 326 kB / 1.287 GB, free: 1.559 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004207/0.9437, allocations: 242.9 kB / 1.287 GB, free: 1.316 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006362/0.9444, allocations: 0.5496 MB / 1.287 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009478/0.9453, allocations: 0.6904 MB / 1.288 GB, free: 15.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.9454, allocations: 4 kB / 1.288 GB, free: 15.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002423/0.9478, allocations: 1.134 MB / 1.289 GB, free: 14.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/0.9478, allocations: 39.98 kB / 1.289 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.9479, allocations: 8.625 kB / 1.289 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/0.9494, allocations: 468.9 kB / 1.29 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.9498, allocations: 79.89 kB / 1.29 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.9513, allocations: 1.114 MB / 1.291 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007735/0.9521, allocations: 55.94 kB / 1.291 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.684e-05/0.9521, allocations: 27.98 kB / 1.291 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007076/0.9528, allocations: 0.5283 MB / 1.291 GB, free: 12.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005989/0.9534, allocations: 0.5252 MB / 1.292 GB, free: 11.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008172/0.9543, allocations: 0.6035 MB / 1.292 GB, free: 11.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/0.9543, allocations: 0 / 1.292 GB, free: 11.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001653/0.9559, allocations: 0.9083 MB / 1.293 GB, free: 10.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.956, allocations: 41.69 kB / 1.293 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.956, allocations: 11.94 kB / 1.293 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005587/0.9566, allocations: 245.9 kB / 1.294 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.9569, allocations: 71.89 kB / 1.294 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004073/0.961, allocations: 3.358 MB / 1.297 GB, free: 6.223 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008244/0.9618, allocations: 75.97 kB / 1.297 GB, free: 6.148 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.9619, allocations: 20 kB / 1.297 GB, free: 6.129 MB / 1.029 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.000197/0.9621, allocations: 225.8 kB / 1.297 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.9622, allocations: 106.7 kB / 1.297 GB, free: 5.797 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.9637, allocations: 0.8163 MB / 1.298 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.9637, allocations: 3.984 kB / 1.298 GB, free: 4.961 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.9637, allocations: 4 kB / 1.298 GB, free: 4.957 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00037/0.9641, allocations: 223.7 kB / 1.298 GB, free: 4.719 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.9642, allocations: 8 kB / 1.298 GB, free: 4.711 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000568/0.9648, allocations: 43.94 kB / 1.298 GB, free: 4.668 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.9649, allocations: 47.92 kB / 1.298 GB, free: 4.621 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001538/0.9665, allocations: 0.8542 MB / 1.299 GB, free: 3.758 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001257/0.9678, allocations: 1.013 MB / 1.3 GB, free: 2.73 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003518/0.9681, allocations: 199.8 kB / 1.3 GB, free: 2.535 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001019/0.9692, allocations: 0.8407 MB / 1.301 GB, free: 1.688 MB / 1.029 GB Notification: Performance of Backend: time 6.72e-07/0.9692, allocations: 0 / 1.301 GB, free: 1.688 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003187/0.9724, allocations: 1.382 MB / 1.303 GB, free: 280 kB / 1.029 GB Notification: Performance of SimCode: time 0.004227/0.9766, allocations: 2.911 MB / 1.305 GB, free: 13.31 MB / 1.045 GB Notification: Performance of Templates: time 0.0347/1.011, allocations: 22.02 MB / 1.327 GB, free: 7.5 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches