Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008074/0.0008072, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.358/1.358, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.596/2.596, allocations: 437.8 MB / 0.7128 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003968, allocations: 11.98 kB / 0.8735 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7174/0.7178, allocations: 153.8 MB / 1.024 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1654/0.8833, allocations: 157.3 MB / 1.177 GB, free: 2.16 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003261/0.8866, allocations: 1.762 MB / 1.179 GB, free: 404 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004606/0.8871, allocations: 15.88 kB / 1.179 GB, free: 388 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006217/0.8877, allocations: 127.2 kB / 1.179 GB, free: 260 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.8893, allocations: 0.4941 MB / 1.18 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.8905, allocations: 347.1 kB / 1.18 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003468/0.8939, allocations: 3.475 MB / 1.183 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.8952, allocations: 0.7543 MB / 1.184 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001946/0.8972, allocations: 0.8986 MB / 1.185 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.8982, allocations: 0.7116 MB / 1.186 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.063e-05/0.8983, allocations: 36 kB / 1.186 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.8998, allocations: 0.8028 MB / 1.186 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003238/0.9001, allocations: 282.9 kB / 1.187 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006836/0.9008, allocations: 0.5301 MB / 1.187 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.9021, allocations: 1.002 MB / 1.188 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.9021, allocations: 4 kB / 1.188 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9021, allocations: 0 / 1.188 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.684e-05/0.9021, allocations: 0 / 1.188 GB, free: 6.895 MB / 0.9356 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.002105/0.9042, allocations: 1.266 MB / 1.189 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.9043, allocations: 8.031 kB / 1.19 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007813/0.9051, allocations: 190.4 kB / 1.19 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.9063, allocations: 0.7982 MB / 1.19 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.12e-05/0.9063, allocations: 49 kB / 1.191 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.489e-05/0.9064, allocations: 63.98 kB / 1.191 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.9077, allocations: 0.7927 MB / 1.191 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.9077, allocations: 7.938 kB / 1.191 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.189e-05/0.9078, allocations: 20 kB / 1.191 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.9078, allocations: 19.94 kB / 1.191 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009387/0.9087, allocations: 0.5423 MB / 1.192 GB, free: 2.945 MB / 0.9356 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.004288/0.913, allocations: 4.599 MB / 1.196 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007352/0.9138, allocations: 426.2 kB / 1.197 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003959/0.9142, allocations: 248.6 kB / 1.197 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002998/0.9145, allocations: 198.2 kB / 1.197 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005047/0.915, allocations: 289.1 kB / 1.198 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 2.054e-06/0.915, allocations: 0 / 1.198 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of matching and sorting (n=31): time 0.001472/0.9165, allocations: 0.6548 MB / 1.198 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.9166, allocations: 81.11 kB / 1.198 GB, free: 12 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.9179, allocations: 1.118 MB / 1.199 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.577e-05/0.918, allocations: 37.7 kB / 1.199 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004204/0.9184, allocations: 0.4921 MB / 1.2 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.9185, allocations: 106.5 kB / 1.2 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.515e-05/0.9186, allocations: 45.69 kB / 1.2 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.9187, allocations: 329.9 kB / 1.2 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.9191, allocations: 208.7 kB / 1.201 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006185/0.9197, allocations: 0.5291 MB / 1.201 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000933/0.9207, allocations: 0.6479 MB / 1.202 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.9207, allocations: 0 / 1.202 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001272/0.922, allocations: 0.7376 MB / 1.202 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.000194/0.9222, allocations: 270.7 kB / 1.203 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.9222, allocations: 8 kB / 1.203 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.9222, allocations: 11.94 kB / 1.203 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/0.9241, allocations: 355.5 kB / 1.203 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003403/0.9275, allocations: 6.087 MB / 1.209 GB, free: 472 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009697/0.9285, allocations: 99.5 kB / 1.209 GB, free: 372 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.884e-05/0.9285, allocations: 24.28 kB / 1.209 GB, free: 348 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.9286, allocations: 4 kB / 1.209 GB, free: 344 kB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009443/0.9295, allocations: 0.5321 MB / 1.21 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.9295, allocations: 11.94 kB / 1.21 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.9296, allocations: 8 kB / 1.21 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005387/0.9301, allocations: 152.4 kB / 1.21 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.9301, allocations: 11.94 kB / 1.21 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000742/0.9309, allocations: 91.53 kB / 1.21 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/0.9309, allocations: 24 kB / 1.21 GB, free: 15.5 MB / 0.9669 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.0005646/0.9315, allocations: 476.6 kB / 1.21 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.9316, allocations: 98.78 kB / 1.21 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009207/0.9326, allocations: 0.4951 MB / 1.211 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.9326, allocations: 4 kB / 1.211 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.9326, allocations: 0 / 1.211 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.9326, allocations: 0 / 1.211 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.9346, allocations: 1.407 MB / 1.212 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.9346, allocations: 0 / 1.212 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000607/0.9353, allocations: 152 kB / 1.212 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.9353, allocations: 8 kB / 1.212 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.9353, allocations: 11.98 kB / 1.212 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002921/0.9382, allocations: 6.028 MB / 1.218 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.9383, allocations: 0 / 1.218 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009754/0.9392, allocations: 0.6242 MB / 1.219 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003528/0.9396, allocations: 211.8 kB / 1.219 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-05/0.9397, allocations: 8 kB / 1.219 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004687/0.9402, allocations: 55.89 kB / 1.219 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.723e-05/0.9403, allocations: 35.83 kB / 1.219 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.9403, allocations: 12 kB / 1.219 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000997/0.9413, allocations: 0.7875 MB / 1.22 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9413, allocations: 7.938 kB / 1.22 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001188/0.9425, allocations: 403.4 kB / 1.22 GB, free: 4.312 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.0004473/0.943, allocations: 176.9 kB / 1.221 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00306/0.9461, allocations: 1.102 MB / 1.222 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.9461, allocations: 0 / 1.222 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007753/0.9469, allocations: 291.6 kB / 1.222 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/0.9494, allocations: 455.2 kB / 1.222 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.9524, allocations: 2.167 MB / 1.224 GB, free: 64 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006965/0.9532, allocations: 1.18 MB / 1.226 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.9533, allocations: 63.44 kB / 1.226 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of SimCode: time 1.102e-06/0.9534, allocations: 0 / 1.226 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of Templates: time 0.5729/1.526, allocations: 64.13 MB / 1.288 GB, free: 216.2 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches