Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_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_9_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.001083/0.001083, allocations: 109 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.001014/0.001014, allocations: 190.7 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.286/1.286, 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.165/2.165, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.89 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6854/0.6867, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1781/0.8648, allocations: 161.6 MB / 1.246 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003285/0.8682, allocations: 1.752 MB / 1.248 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004049/0.8686, allocations: 13.88 kB / 1.248 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006861/0.8693, allocations: 163 kB / 1.248 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.8711, allocations: 0.5486 MB / 1.249 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.8725, allocations: 394.1 kB / 1.249 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002914/0.8755, allocations: 2.542 MB / 1.252 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.8769, allocations: 0.9333 MB / 1.253 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001871/0.8788, allocations: 1.043 MB / 1.254 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.8799, allocations: 0.7078 MB / 1.254 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002084/0.8801, allocations: 56 kB / 1.254 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.8817, allocations: 0.7445 MB / 1.255 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004149/0.8821, allocations: 298.9 kB / 1.255 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008638/0.883, allocations: 0.5517 MB / 1.256 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.8847, allocations: 1.396 MB / 1.257 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.8847, allocations: 0 / 1.257 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8847, allocations: 4 kB / 1.257 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.493e-05/0.8848, allocations: 0 / 1.257 GB, free: 0.9883 MB / 0.9825 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.003947/0.8887, allocations: 1.443 MB / 1.259 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.8888, allocations: 8.031 kB / 1.259 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.8898, allocations: 186.5 kB / 1.259 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/0.8918, allocations: 0.8567 MB / 1.26 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.887e-05/0.8918, allocations: 44.98 kB / 1.26 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.8919, allocations: 60 kB / 1.26 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.8934, allocations: 0.7927 MB / 1.261 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.8934, allocations: 7.875 kB / 1.261 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-05/0.8935, allocations: 20 kB / 1.261 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.8935, allocations: 12 kB / 1.261 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009691/0.8945, allocations: 0.5344 MB / 1.261 GB, free: 12.83 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.004215/0.8987, allocations: 4.591 MB / 1.266 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006978/0.8994, allocations: 422.7 kB / 1.266 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003813/0.8998, allocations: 247.1 kB / 1.266 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002799/0.9001, allocations: 194.1 kB / 1.266 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004836/0.9006, allocations: 293.1 kB / 1.267 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.344e-06/0.9006, allocations: 0 / 1.267 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001365/0.902, allocations: 0.6266 MB / 1.267 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.902, allocations: 85.09 kB / 1.267 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.9034, allocations: 1.121 MB / 1.269 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.79e-05/0.9035, allocations: 37.7 kB / 1.269 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000384/0.9039, allocations: 492.1 kB / 1.269 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.194e-05/0.904, allocations: 110.5 kB / 1.269 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.9042, allocations: 106 kB / 1.269 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.9043, allocations: 329.9 kB / 1.27 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/0.9047, allocations: 210.4 kB / 1.27 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005918/0.9053, allocations: 0.5213 MB / 1.27 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008768/0.9061, allocations: 0.6385 MB / 1.271 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.9062, allocations: 0 / 1.271 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001215/0.9074, allocations: 0.7211 MB / 1.272 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/0.9074, allocations: 37.69 kB / 1.272 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.9074, allocations: 4 kB / 1.272 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.9075, allocations: 8 kB / 1.272 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001853/0.9093, allocations: 352 kB / 1.272 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00321/0.9126, allocations: 6.083 MB / 1.278 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006284/0.9132, allocations: 71.48 kB / 1.278 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.638e-05/0.9133, allocations: 31.94 kB / 1.278 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006424/0.9139, allocations: 0.5008 MB / 1.279 GB, free: 10.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005676/0.9145, allocations: 493.9 kB / 1.279 GB, free: 9.457 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007774/0.9153, allocations: 0.5605 MB / 1.28 GB, free: 8.816 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.136e-06/0.9153, allocations: 0 / 1.28 GB, free: 8.816 MB / 1.014 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001067/0.9164, allocations: 0.6497 MB / 1.28 GB, free: 8.152 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.9164, allocations: 36.05 kB / 1.28 GB, free: 8.113 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.9164, allocations: 4 kB / 1.28 GB, free: 8.109 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.9164, allocations: 8 kB / 1.28 GB, free: 8.102 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005568/0.917, allocations: 152.4 kB / 1.28 GB, free: 7.953 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.917, allocations: 11.94 kB / 1.28 GB, free: 7.941 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006187/0.9176, allocations: 64.11 kB / 1.28 GB, free: 7.879 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.9177, allocations: 24 kB / 1.28 GB, free: 7.855 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_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.0001764/0.9179, allocations: 227.9 kB / 1.281 GB, free: 7.625 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.918, allocations: 98.78 kB / 1.281 GB, free: 7.527 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000891/0.9189, allocations: 498.9 kB / 1.281 GB, free: 7.027 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.9189, allocations: 7.938 kB / 1.281 GB, free: 7.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.9189, allocations: 0 / 1.281 GB, free: 7.02 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003476/0.9193, allocations: 211.9 kB / 1.281 GB, free: 6.793 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.9194, allocations: 11.94 kB / 1.281 GB, free: 6.781 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/0.9198, allocations: 19.97 kB / 1.281 GB, free: 6.762 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.404e-05/0.9199, allocations: 27.91 kB / 1.282 GB, free: 6.734 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001494/0.9214, allocations: 0.7815 MB / 1.282 GB, free: 5.914 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001176/0.9226, allocations: 0.9194 MB / 1.283 GB, free: 4.977 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003195/0.9229, allocations: 175.9 kB / 1.283 GB, free: 4.805 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009562/0.9239, allocations: 0.7953 MB / 1.284 GB, free: 4 MB / 1.014 GB Notification: Performance of Backend: time 8.41e-07/0.9239, allocations: 4 kB / 1.284 GB, free: 3.996 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003736/0.9276, allocations: 1.158 MB / 1.285 GB, free: 2.82 MB / 1.014 GB Notification: Performance of SimCode: time 0.004022/0.9317, allocations: 2.58 MB / 1.288 GB, free: 208 kB / 1.014 GB Notification: Performance of Templates: time 0.03058/0.9623, allocations: 19.42 MB / 1.307 GB, free: 12.97 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches