Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_11_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_11_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.001285/0.001285, allocations: 116.6 kB / 16.81 MB, free: 5.77 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.001211/0.001211, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.372/1.372, allocations: 225.6 MB / 244.2 MB, free: 13.89 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.706/2.706, allocations: 476.7 MB / 0.7556 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.3 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.3003, allocations: 168.7 MB / 1.262 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1876/0.4879, allocations: 162.1 MB / 1.42 GB, free: 10.23 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.006841/0.4947, allocations: 3.641 MB / 1.424 GB, free: 6.574 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.495, allocations: 11.94 kB / 1.424 GB, free: 6.562 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006938/0.4957, allocations: 170.9 kB / 1.424 GB, free: 6.395 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.4974, allocations: 0.5538 MB / 1.425 GB, free: 5.84 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.499, allocations: 444.7 kB / 1.425 GB, free: 5.41 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003803/0.5028, allocations: 2.531 MB / 1.428 GB, free: 2.867 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.5042, allocations: 0.8006 MB / 1.428 GB, free: 2.055 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002728/0.5069, allocations: 1.047 MB / 1.429 GB, free: 1.004 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.5085, allocations: 0.7506 MB / 1.43 GB, free: 256 kB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001923/0.5087, allocations: 56 kB / 1.43 GB, free: 200 kB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002267/0.511, allocations: 0.7679 MB / 1.431 GB, free: 15.43 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005043/0.5115, allocations: 318.7 kB / 1.431 GB, free: 15.11 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009646/0.5125, allocations: 0.544 MB / 1.432 GB, free: 14.57 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002388/0.5149, allocations: 1.409 MB / 1.433 GB, free: 13.15 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5149, allocations: 0 / 1.433 GB, free: 13.15 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5149, allocations: 0 / 1.433 GB, free: 13.15 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.854e-05/0.5149, allocations: 0 / 1.433 GB, free: 13.15 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003352/0.5182, allocations: 1.496 MB / 1.435 GB, free: 11.59 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.5183, allocations: 12.03 kB / 1.435 GB, free: 11.58 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.5196, allocations: 199.1 kB / 1.435 GB, free: 11.39 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.5215, allocations: 0.8579 MB / 1.436 GB, free: 10.47 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.353e-05/0.5216, allocations: 41 kB / 1.436 GB, free: 10.43 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.5217, allocations: 56 kB / 1.436 GB, free: 10.38 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.5235, allocations: 0.7965 MB / 1.436 GB, free: 9.508 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.5235, allocations: 4 kB / 1.436 GB, free: 9.504 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.394e-05/0.5236, allocations: 24 kB / 1.436 GB, free: 9.48 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.5236, allocations: 12 kB / 1.436 GB, free: 9.469 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.525, allocations: 0.5343 MB / 1.437 GB, free: 8.934 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.00586/0.5309, allocations: 4.608 MB / 1.442 GB, free: 3.941 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.5319, allocations: 397.4 kB / 1.442 GB, free: 3.547 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005796/0.5325, allocations: 232.6 kB / 1.442 GB, free: 3.316 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003707/0.5329, allocations: 190.2 kB / 1.442 GB, free: 3.094 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007231/0.5336, allocations: 305.3 kB / 1.443 GB, free: 2.777 MB / 1.154 GB Notification: Performance of pre-optimization done (n=31): time 2.345e-06/0.5336, allocations: 0 / 1.443 GB, free: 2.777 MB / 1.154 GB Notification: Performance of matching and sorting (n=31): time 0.007198/0.5408, allocations: 1.638 MB / 1.444 GB, free: 1.109 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/0.5409, allocations: 85.05 kB / 1.444 GB, free: 1.008 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002105/0.543, allocations: 1.122 MB / 1.445 GB, free: 15.87 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.928e-05/0.543, allocations: 37.7 kB / 1.445 GB, free: 15.82 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006164/0.5436, allocations: 496.8 kB / 1.446 GB, free: 15.33 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.5438, allocations: 107 kB / 1.446 GB, free: 15.23 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/0.544, allocations: 118 kB / 1.446 GB, free: 15.11 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.5442, allocations: 326 kB / 1.446 GB, free: 14.78 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005828/0.5448, allocations: 218.4 kB / 1.447 GB, free: 14.57 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009211/0.5457, allocations: 0.5165 MB / 1.447 GB, free: 13.92 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.547, allocations: 0.6227 MB / 1.448 GB, free: 13.21 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.5471, allocations: 4 kB / 1.448 GB, free: 13.21 MB / 1.17 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003158/0.5502, allocations: 1.038 MB / 1.449 GB, free: 12.16 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 5.542e-05/0.5503, allocations: 37.7 kB / 1.449 GB, free: 12.11 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.5503, allocations: 4 kB / 1.449 GB, free: 12.11 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001747/0.552, allocations: 379 kB / 1.449 GB, free: 11.74 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.5524, allocations: 67.98 kB / 1.449 GB, free: 11.67 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.5544, allocations: 1.087 MB / 1.45 GB, free: 10.56 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009582/0.5553, allocations: 79.59 kB / 1.45 GB, free: 10.48 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.28e-05/0.5554, allocations: 23.98 kB / 1.45 GB, free: 10.46 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001079/0.5565, allocations: 0.4966 MB / 1.451 GB, free: 9.957 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008057/0.5573, allocations: 0.494 MB / 1.451 GB, free: 9.328 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008418/0.5581, allocations: 0.553 MB / 1.452 GB, free: 8.695 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.595e-06/0.5581, allocations: 0 / 1.452 GB, free: 8.695 MB / 1.17 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001547/0.5597, allocations: 0.8345 MB / 1.453 GB, free: 7.844 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/0.5597, allocations: 37.7 kB / 1.453 GB, free: 7.801 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.5597, allocations: 8 kB / 1.453 GB, free: 7.793 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005471/0.5603, allocations: 214.5 kB / 1.453 GB, free: 7.582 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.5605, allocations: 59.91 kB / 1.453 GB, free: 7.523 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004059/0.5646, allocations: 3.267 MB / 1.456 GB, free: 4.105 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006606/0.5652, allocations: 72.12 kB / 1.456 GB, free: 4.035 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.5653, allocations: 20 kB / 1.456 GB, free: 4.016 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 (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.0002218/0.5655, allocations: 220.1 kB / 1.456 GB, free: 3.793 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.5656, allocations: 107.3 kB / 1.457 GB, free: 3.688 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.567, allocations: 0.6948 MB / 1.457 GB, free: 2.98 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.567, allocations: 7.969 kB / 1.457 GB, free: 2.973 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.567, allocations: 192 / 1.457 GB, free: 2.973 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003077/0.5673, allocations: 220.3 kB / 1.457 GB, free: 2.738 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.5674, allocations: 11.94 kB / 1.457 GB, free: 2.727 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003865/0.5678, allocations: 23.97 kB / 1.458 GB, free: 2.703 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.5679, allocations: 43.92 kB / 1.458 GB, free: 2.66 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001499/0.5694, allocations: 0.7956 MB / 1.458 GB, free: 1.855 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001305/0.5707, allocations: 0.9257 MB / 1.459 GB, free: 0.9102 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003448/0.5711, allocations: 175.8 kB / 1.459 GB, free: 0.7383 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.00107/0.5722, allocations: 0.7956 MB / 1.46 GB, free: 15.93 MB / 1.186 GB Notification: Performance of Backend: time 5.61e-07/0.5722, allocations: 0 / 1.46 GB, free: 15.93 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003345/0.5755, allocations: 1.274 MB / 1.461 GB, free: 14.63 MB / 1.186 GB Notification: Performance of SimCode: time 0.004108/0.5796, allocations: 2.717 MB / 1.464 GB, free: 11.87 MB / 1.186 GB Notification: Performance of Templates: time 0.03541/0.615, allocations: 20.66 MB / 1.484 GB, free: 7.398 MB / 1.201 GB make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches