Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 121.4 kB / 16.81 MB, free: 5.754 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.002016/0.002016, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.413/1.413, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.775/2.775, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.73 kB / 1.097 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3023, allocations: 168.7 MB / 1.262 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1867/0.489, allocations: 162.1 MB / 1.42 GB, free: 10.25 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.003241/0.4922, allocations: 1.77 MB / 1.422 GB, free: 8.473 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002635/0.4925, allocations: 11.94 kB / 1.422 GB, free: 8.461 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005704/0.4931, allocations: 170.9 kB / 1.422 GB, free: 8.293 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.4944, allocations: 0.5484 MB / 1.423 GB, free: 7.742 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.4956, allocations: 399.6 kB / 1.423 GB, free: 7.355 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002969/0.4985, allocations: 2.522 MB / 1.426 GB, free: 4.824 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.4997, allocations: 0.7928 MB / 1.426 GB, free: 4.02 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001773/0.5015, allocations: 1.055 MB / 1.427 GB, free: 2.961 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.5025, allocations: 0.7389 MB / 1.428 GB, free: 2.219 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.5026, allocations: 59.98 kB / 1.428 GB, free: 2.16 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.5042, allocations: 0.7679 MB / 1.429 GB, free: 1.391 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000397/0.5046, allocations: 310.8 kB / 1.429 GB, free: 1.086 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007874/0.5054, allocations: 0.5401 MB / 1.43 GB, free: 0.543 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.5074, allocations: 1.413 MB / 1.431 GB, free: 15.12 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5074, allocations: 4 kB / 1.431 GB, free: 15.12 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.522e-06/0.5074, allocations: 0 / 1.431 GB, free: 15.12 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.969e-05/0.5074, allocations: 0 / 1.431 GB, free: 15.12 MB / 1.154 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.002583/0.51, allocations: 1.489 MB / 1.433 GB, free: 13.57 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.51, allocations: 12.03 kB / 1.433 GB, free: 13.56 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000801/0.5108, allocations: 191.1 kB / 1.433 GB, free: 13.37 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.5122, allocations: 0.8577 MB / 1.434 GB, free: 12.46 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.069e-05/0.5123, allocations: 49 kB / 1.434 GB, free: 12.41 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.864e-05/0.5124, allocations: 56 kB / 1.434 GB, free: 12.36 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.5136, allocations: 0.795 MB / 1.435 GB, free: 11.49 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.5136, allocations: 4 kB / 1.435 GB, free: 11.48 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.485e-05/0.5137, allocations: 20 kB / 1.435 GB, free: 11.46 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.5137, allocations: 16 kB / 1.435 GB, free: 11.45 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009848/0.5147, allocations: 0.5383 MB / 1.435 GB, free: 10.91 MB / 1.154 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.004566/0.5193, allocations: 4.6 MB / 1.44 GB, free: 5.926 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008176/0.5201, allocations: 390.8 kB / 1.44 GB, free: 5.535 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004285/0.5205, allocations: 224.7 kB / 1.44 GB, free: 5.312 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003268/0.5208, allocations: 202.2 kB / 1.44 GB, free: 5.078 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000536/0.5214, allocations: 289.6 kB / 1.441 GB, free: 4.777 MB / 1.154 GB Notification: Performance of pre-optimization done (n=31): time 2.615e-06/0.5214, allocations: 3.938 kB / 1.441 GB, free: 4.773 MB / 1.154 GB Notification: Performance of matching and sorting (n=31): time 0.001492/0.5229, allocations: 0.6464 MB / 1.441 GB, free: 4.121 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.5229, allocations: 81.11 kB / 1.441 GB, free: 4.023 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/0.5244, allocations: 1.121 MB / 1.442 GB, free: 2.883 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.653e-05/0.5244, allocations: 33.7 kB / 1.443 GB, free: 2.844 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004582/0.5249, allocations: 496.8 kB / 1.443 GB, free: 2.352 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.525, allocations: 119 kB / 1.443 GB, free: 2.234 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.5252, allocations: 114.1 kB / 1.443 GB, free: 2.117 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5253, allocations: 325.9 kB / 1.444 GB, free: 1.793 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004187/0.5257, allocations: 214.4 kB / 1.444 GB, free: 1.582 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006826/0.5264, allocations: 0.5175 MB / 1.444 GB, free: 0.9297 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009623/0.5274, allocations: 0.6266 MB / 1.445 GB, free: 228 kB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.5274, allocations: 4 kB / 1.445 GB, free: 224 kB / 1.154 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001349/0.5287, allocations: 0.725 MB / 1.446 GB, free: 15.48 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.5288, allocations: 37.83 kB / 1.446 GB, free: 15.44 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.5288, allocations: 4.281 kB / 1.446 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.5288, allocations: 8 kB / 1.446 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/0.5307, allocations: 351.5 kB / 1.446 GB, free: 15.08 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004046/0.5348, allocations: 6.091 MB / 1.452 GB, free: 8.758 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007763/0.5356, allocations: 75.59 kB / 1.452 GB, free: 8.684 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.9e-05/0.5356, allocations: 31.97 kB / 1.452 GB, free: 8.652 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007827/0.5364, allocations: 0.4928 MB / 1.452 GB, free: 8.156 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00062/0.537, allocations: 0.4901 MB / 1.453 GB, free: 7.531 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008207/0.5379, allocations: 0.553 MB / 1.453 GB, free: 6.898 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/0.5379, allocations: 4 kB / 1.453 GB, free: 6.895 MB / 1.17 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001192/0.539, allocations: 0.6598 MB / 1.454 GB, free: 6.223 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.5391, allocations: 33.7 kB / 1.454 GB, free: 6.184 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.5391, allocations: 8 kB / 1.454 GB, free: 6.176 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.5391, allocations: 8 kB / 1.454 GB, free: 6.168 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/0.5397, allocations: 151.9 kB / 1.454 GB, free: 6.02 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/0.5397, allocations: 19.91 kB / 1.454 GB, free: 6 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006693/0.5404, allocations: 60.17 kB / 1.454 GB, free: 5.941 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.5404, allocations: 23.94 kB / 1.454 GB, free: 5.918 MB / 1.17 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 (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002735/0.5407, allocations: 224 kB / 1.455 GB, free: 5.688 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.5409, allocations: 111.3 kB / 1.455 GB, free: 5.578 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.542, allocations: 491 kB / 1.455 GB, free: 5.094 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.542, allocations: 3.984 kB / 1.455 GB, free: 5.09 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.542, allocations: 0 / 1.455 GB, free: 5.09 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000426/0.5424, allocations: 220.3 kB / 1.455 GB, free: 4.855 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.5425, allocations: 7.938 kB / 1.455 GB, free: 4.848 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/0.5429, allocations: 15.98 kB / 1.455 GB, free: 4.832 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.543, allocations: 35.89 kB / 1.455 GB, free: 4.797 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001697/0.5447, allocations: 0.7736 MB / 1.456 GB, free: 3.984 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001389/0.5461, allocations: 0.9239 MB / 1.457 GB, free: 3.043 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003369/0.5464, allocations: 167.8 kB / 1.457 GB, free: 2.879 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001118/0.5475, allocations: 0.7914 MB / 1.458 GB, free: 2.078 MB / 1.17 GB Notification: Performance of Backend: time 3.81e-07/0.5475, allocations: 0 / 1.458 GB, free: 2.078 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.004116/0.5517, allocations: 1.138 MB / 1.459 GB, free: 0.918 MB / 1.17 GB Notification: Performance of SimCode: time 0.00419/0.5559, allocations: 2.623 MB / 1.462 GB, free: 14.25 MB / 1.186 GB Notification: Performance of Templates: time 0.03632/0.5922, allocations: 19.73 MB / 1.481 GB, free: 10.7 MB / 1.201 GB make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches