Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008192/0.008192, allocations: 100.1 kB / 15.73 MB, free: 6.035 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.001982/0.001982, allocations: 187.3 kB / 16.67 MB, free: 5.965 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.35/2.35, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 66.89 kB / 0.9508 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2801, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.182/0.4622, allocations: 161.6 MB / 1.246 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005419/0.4676, allocations: 3.635 MB / 1.249 GB, free: 11.6 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004684/0.4681, allocations: 11.94 kB / 1.249 GB, free: 11.59 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006621/0.4688, allocations: 166.9 kB / 1.249 GB, free: 11.42 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001604/0.4705, allocations: 0.5523 MB / 1.25 GB, free: 10.87 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.4719, allocations: 429.5 kB / 1.25 GB, free: 10.45 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002946/0.4748, allocations: 2.551 MB / 1.253 GB, free: 7.891 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/0.4763, allocations: 0.941 MB / 1.254 GB, free: 6.941 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001994/0.4783, allocations: 1.039 MB / 1.255 GB, free: 5.898 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.4795, allocations: 0.7078 MB / 1.256 GB, free: 5.188 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002255/0.4798, allocations: 56 kB / 1.256 GB, free: 5.133 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.4815, allocations: 0.7445 MB / 1.256 GB, free: 4.387 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004571/0.482, allocations: 306.9 kB / 1.257 GB, free: 4.086 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.4831, allocations: 0.5401 MB / 1.257 GB, free: 3.543 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002487/0.4856, allocations: 1.41 MB / 1.258 GB, free: 2.129 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.4856, allocations: 0 / 1.258 GB, free: 2.129 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.973e-06/0.4856, allocations: 0 / 1.258 GB, free: 2.129 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.633e-05/0.4857, allocations: 0 / 1.258 GB, free: 2.129 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003152/0.4889, allocations: 1.455 MB / 1.26 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.4889, allocations: 8.031 kB / 1.26 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009373/0.4898, allocations: 190.5 kB / 1.26 GB, free: 428 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6105/1.1, allocations: 0.8491 MB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.892e-05/1.1, allocations: 43.33 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/1.101, allocations: 59.33 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/1.102, allocations: 0.7892 MB / 1.262 GB, free: 175.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/1.102, allocations: 5.594 kB / 1.262 GB, free: 175.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.239e-05/1.102, allocations: 22.66 kB / 1.262 GB, free: 175.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/1.102, allocations: 13.61 kB / 1.262 GB, free: 175.7 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/1.103, allocations: 0.5374 MB / 1.262 GB, free: 175.6 MB / 1.014 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.004114/1.107, allocations: 4.588 MB / 1.267 GB, free: 172.1 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008312/1.108, allocations: 423.4 kB / 1.267 GB, free: 172 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004199/1.109, allocations: 253.7 kB / 1.267 GB, free: 171.9 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002734/1.109, allocations: 192.5 kB / 1.268 GB, free: 171.7 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005152/1.109, allocations: 292.7 kB / 1.268 GB, free: 171.6 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 2.184e-06/1.109, allocations: 3.406 kB / 1.268 GB, free: 171.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=31): time 0.005502/1.115, allocations: 1.639 MB / 1.27 GB, free: 171.2 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/1.115, allocations: 81.75 kB / 1.27 GB, free: 171.1 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/1.117, allocations: 1.115 MB / 1.271 GB, free: 170.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.387e-05/1.117, allocations: 38.97 kB / 1.271 GB, free: 170.6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003933/1.117, allocations: 495.4 kB / 1.271 GB, free: 170.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.951e-05/1.117, allocations: 106.2 kB / 1.271 GB, free: 170.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/1.118, allocations: 112.4 kB / 1.271 GB, free: 170.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 6.8e-05/1.118, allocations: 329.1 kB / 1.272 GB, free: 169.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/1.118, allocations: 212.8 kB / 1.272 GB, free: 169.8 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005995/1.119, allocations: 0.5189 MB / 1.272 GB, free: 169.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009885/1.12, allocations: 0.6268 MB / 1.273 GB, free: 168.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/1.12, allocations: 2.625 kB / 1.273 GB, free: 168.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002626/1.122, allocations: 1.05 MB / 1.274 GB, free: 168.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.809e-05/1.122, allocations: 35.08 kB / 1.274 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/1.122, allocations: 10.52 kB / 1.274 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001482/1.124, allocations: 372.1 kB / 1.275 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/1.124, allocations: 64.83 kB / 1.275 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/1.126, allocations: 1.087 MB / 1.276 GB, free: 167.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007901/1.127, allocations: 80.03 kB / 1.276 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.054e-05/1.127, allocations: 25.72 kB / 1.276 GB, free: 167.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000837/1.128, allocations: 0.4956 MB / 1.276 GB, free: 167.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000514/1.128, allocations: 0.4891 MB / 1.277 GB, free: 167.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000754/1.129, allocations: 0.5519 MB / 1.277 GB, free: 166.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.681e-06/1.129, allocations: 1.125 kB / 1.277 GB, free: 166.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001644/1.131, allocations: 0.8338 MB / 1.278 GB, free: 166.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/1.131, allocations: 34.09 kB / 1.278 GB, free: 166.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/1.131, allocations: 6.547 kB / 1.278 GB, free: 166.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006128/1.131, allocations: 218.9 kB / 1.278 GB, free: 166.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/1.131, allocations: 64.09 kB / 1.278 GB, free: 166.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003947/1.135, allocations: 3.251 MB / 1.282 GB, free: 164.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008713/1.136, allocations: 75.77 kB / 1.282 GB, free: 164 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/1.136, allocations: 23.55 kB / 1.282 GB, free: 164 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 (34): * Single equations (assignments): 32 * 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 {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002238/1.137, allocations: 213.9 kB / 1.282 GB, free: 163.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/1.137, allocations: 99.53 kB / 1.282 GB, free: 163.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/1.138, allocations: 0.7158 MB / 1.283 GB, free: 163.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/1.138, allocations: 4.031 kB / 1.283 GB, free: 163.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/1.138, allocations: 0 / 1.283 GB, free: 163.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.423e-06/1.138, allocations: 2.906 kB / 1.283 GB, free: 163.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002686/1.141, allocations: 1.597 MB / 1.284 GB, free: 162.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/1.141, allocations: 3.281 kB / 1.284 GB, free: 162.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/1.141, allocations: 25.2 kB / 1.284 GB, free: 162.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005314/1.142, allocations: 253.7 kB / 1.284 GB, free: 162.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/1.142, allocations: 13.44 kB / 1.284 GB, free: 162.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/1.143, allocations: 1.024 MB / 1.285 GB, free: 162 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.143, allocations: 6.25 kB / 1.285 GB, free: 162 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/1.144, allocations: 0.8224 MB / 1.286 GB, free: 161.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/1.144, allocations: 211.7 kB / 1.286 GB, free: 161.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.765e-05/1.144, allocations: 12.56 kB / 1.286 GB, free: 161.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/1.145, allocations: 25.92 kB / 1.287 GB, free: 161.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.722e-05/1.145, allocations: 33.86 kB / 1.287 GB, free: 161.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/1.145, allocations: 9.797 kB / 1.287 GB, free: 161.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001095/1.146, allocations: 0.7977 MB / 1.287 GB, free: 161.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.146, allocations: 0 / 1.287 GB, free: 161.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001427/1.148, allocations: 439.1 kB / 1.288 GB, free: 161 MB / 1.014 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004265/1.148, allocations: 175.1 kB / 1.288 GB, free: 160.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002682/1.151, allocations: 1.215 MB / 1.289 GB, free: 160.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.151, allocations: 1.25 kB / 1.289 GB, free: 160.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006789/1.151, allocations: 287.5 kB / 1.289 GB, free: 160.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/1.153, allocations: 462.7 kB / 1.29 GB, free: 160.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/1.156, allocations: 1.774 MB / 1.292 GB, free: 159.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007487/1.157, allocations: 1.181 MB / 1.293 GB, free: 158.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009156/1.158, allocations: 314.2 kB / 1.293 GB, free: 158.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/1.158, allocations: 62.92 kB / 1.293 GB, free: 158.5 MB / 1.014 GB Notification: Performance of SimCode: time 1.012e-06/1.158, allocations: 0 / 1.293 GB, free: 158.5 MB / 1.014 GB Notification: Performance of Templates: time 0.03158/1.19, allocations: 19.43 MB / 1.312 GB, free: 148.2 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches