Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007852/0.007852, allocations: 100.4 kB / 15.73 MB, free: 5.977 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.001696/0.001696, allocations: 195.8 kB / 16.67 MB, free: 5.914 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.656/2.656, allocations: 461.9 MB / 0.7347 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 67.89 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2987, allocations: 157.4 MB / 1.208 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.8128/1.112, allocations: 161.6 MB / 1.366 GB, free: 5.133 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005215/1.117, allocations: 3.626 MB / 1.369 GB, free: 2.566 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003372/1.117, allocations: 14.69 kB / 1.369 GB, free: 2.559 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006087/1.118, allocations: 158.5 kB / 1.369 GB, free: 2.461 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001399/1.119, allocations: 0.5293 MB / 1.37 GB, free: 2.18 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001163/1.12, allocations: 439.1 kB / 1.37 GB, free: 1.977 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002875/1.123, allocations: 2.546 MB / 1.373 GB, free: 0.8789 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/1.125, allocations: 0.9357 MB / 1.374 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/1.126, allocations: 1.039 MB / 1.375 GB, free: 112 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008283/1.127, allocations: 0.7054 MB / 1.375 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/1.127, allocations: 55.75 kB / 1.375 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/1.129, allocations: 0.7459 MB / 1.376 GB, free: 15.44 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003262/1.129, allocations: 309.8 kB / 1.376 GB, free: 15.23 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006081/1.129, allocations: 0.5408 MB / 1.377 GB, free: 14.9 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/1.131, allocations: 1.401 MB / 1.378 GB, free: 14.07 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/1.131, allocations: 0 / 1.378 GB, free: 14.07 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.493e-06/1.131, allocations: 1.062 kB / 1.378 GB, free: 14.07 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.967e-05/1.131, allocations: 0 / 1.378 GB, free: 14.07 MB / 1.076 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.002373/1.133, allocations: 1.453 MB / 1.38 GB, free: 12.95 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/1.133, allocations: 9.906 kB / 1.38 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007531/1.134, allocations: 191.7 kB / 1.38 GB, free: 12.86 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/1.136, allocations: 0.8449 MB / 1.381 GB, free: 12.24 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.287e-05/1.136, allocations: 46.28 kB / 1.381 GB, free: 12.22 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.58e-05/1.136, allocations: 57.19 kB / 1.381 GB, free: 12.2 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/1.137, allocations: 0.7958 MB / 1.382 GB, free: 11.63 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/1.137, allocations: 6.594 kB / 1.382 GB, free: 11.62 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.595e-05/1.137, allocations: 26.52 kB / 1.382 GB, free: 11.61 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/1.137, allocations: 13.44 kB / 1.382 GB, free: 11.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009036/1.138, allocations: 0.5327 MB / 1.382 GB, free: 11.35 MB / 1.076 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.004058/1.142, allocations: 4.593 MB / 1.387 GB, free: 7.039 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007218/1.143, allocations: 419 kB / 1.387 GB, free: 6.832 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003809/1.143, allocations: 247.3 kB / 1.387 GB, free: 6.715 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002772/1.144, allocations: 195.5 kB / 1.387 GB, free: 6.512 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004962/1.144, allocations: 297 kB / 1.388 GB, free: 6.316 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 1.933e-06/1.144, allocations: 0 / 1.388 GB, free: 6.316 MB / 1.076 GB Notification: Performance of matching and sorting (n=31): time 0.004902/1.149, allocations: 1.65 MB / 1.389 GB, free: 5.402 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/1.149, allocations: 80.73 kB / 1.389 GB, free: 5.309 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/1.15, allocations: 1.12 MB / 1.391 GB, free: 4.711 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/1.15, allocations: 43.28 kB / 1.391 GB, free: 4.668 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003945/1.151, allocations: 493.4 kB / 1.391 GB, free: 4.25 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.928e-05/1.151, allocations: 106.3 kB / 1.391 GB, free: 4.16 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/1.151, allocations: 114.7 kB / 1.391 GB, free: 4.094 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001065/1.151, allocations: 327.5 kB / 1.392 GB, free: 3.773 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/1.152, allocations: 217.6 kB / 1.392 GB, free: 3.66 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005999/1.152, allocations: 0.5165 MB / 1.392 GB, free: 3.168 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008894/1.153, allocations: 0.6366 MB / 1.393 GB, free: 2.691 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.153, allocations: 2.5 kB / 1.393 GB, free: 2.691 MB / 1.076 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002029/1.155, allocations: 1.037 MB / 1.394 GB, free: 2.125 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.593e-05/1.155, allocations: 33.17 kB / 1.394 GB, free: 2.094 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.155, allocations: 6.188 kB / 1.394 GB, free: 2.094 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/1.156, allocations: 376.4 kB / 1.394 GB, free: 1.938 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/1.157, allocations: 65.03 kB / 1.394 GB, free: 1.918 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/1.158, allocations: 1.085 MB / 1.395 GB, free: 1.105 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006844/1.159, allocations: 73.72 kB / 1.395 GB, free: 1.062 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.492e-05/1.159, allocations: 26.89 kB / 1.395 GB, free: 1.055 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006502/1.159, allocations: 0.4979 MB / 1.396 GB, free: 0.7617 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005385/1.16, allocations: 494.7 kB / 1.396 GB, free: 284 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007255/1.161, allocations: 0.5517 MB / 1.397 GB, free: 15.85 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/1.161, allocations: 1.375 kB / 1.397 GB, free: 15.85 MB / 1.092 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001421/1.162, allocations: 0.8373 MB / 1.398 GB, free: 15.39 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/1.162, allocations: 33.58 kB / 1.398 GB, free: 15.36 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.162, allocations: 8.562 kB / 1.398 GB, free: 15.35 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000483/1.163, allocations: 220.3 kB / 1.398 GB, free: 15.25 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/1.163, allocations: 65.75 kB / 1.398 GB, free: 15.23 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003449/1.166, allocations: 3.262 MB / 1.401 GB, free: 12.65 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006673/1.167, allocations: 73.53 kB / 1.401 GB, free: 12.61 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/1.167, allocations: 21.84 kB / 1.401 GB, free: 12.61 MB / 1.092 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.0001797/1.167, allocations: 215.2 kB / 1.402 GB, free: 12.4 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/1.167, allocations: 97.62 kB / 1.402 GB, free: 12.35 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/1.169, allocations: 0.7109 MB / 1.402 GB, free: 11.95 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/1.169, allocations: 3.5 kB / 1.402 GB, free: 11.95 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/1.169, allocations: 1.406 kB / 1.402 GB, free: 11.95 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/1.169, allocations: 3.984 kB / 1.402 GB, free: 11.94 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/1.171, allocations: 1.599 MB / 1.404 GB, free: 10.84 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.171, allocations: 2.312 kB / 1.404 GB, free: 10.84 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/1.171, allocations: 19.7 kB / 1.404 GB, free: 10.84 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004659/1.171, allocations: 256.2 kB / 1.404 GB, free: 10.72 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/1.172, allocations: 9.281 kB / 1.404 GB, free: 10.71 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009262/1.172, allocations: 1.03 MB / 1.405 GB, free: 9.926 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.172, allocations: 2.594 kB / 1.405 GB, free: 9.926 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/1.174, allocations: 0.8179 MB / 1.406 GB, free: 9.391 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003361/1.174, allocations: 220 kB / 1.406 GB, free: 9.207 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/1.174, allocations: 13.39 kB / 1.406 GB, free: 9.199 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004062/1.174, allocations: 22.14 kB / 1.406 GB, free: 9.188 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/1.175, allocations: 40.56 kB / 1.406 GB, free: 9.16 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/1.175, allocations: 9.375 kB / 1.406 GB, free: 9.16 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008812/1.175, allocations: 0.7944 MB / 1.407 GB, free: 8.723 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.9e-07/1.175, allocations: 0 / 1.407 GB, free: 8.723 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001154/1.177, allocations: 430.8 kB / 1.408 GB, free: 8.672 MB / 1.092 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.000439/1.177, allocations: 174.5 kB / 1.408 GB, free: 8.547 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002335/1.179, allocations: 1.21 MB / 1.409 GB, free: 7.352 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.179, allocations: 4 kB / 1.409 GB, free: 7.348 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005924/1.18, allocations: 283.7 kB / 1.409 GB, free: 7.07 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/1.182, allocations: 453.8 kB / 1.41 GB, free: 6.625 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/1.184, allocations: 1.78 MB / 1.411 GB, free: 4.797 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006567/1.185, allocations: 1.184 MB / 1.412 GB, free: 3.582 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007188/1.186, allocations: 315.8 kB / 1.413 GB, free: 3.27 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/1.186, allocations: 67.42 kB / 1.413 GB, free: 3.203 MB / 1.092 GB Notification: Performance of SimCode: time 2.51e-07/1.186, allocations: 0 / 1.413 GB, free: 3.203 MB / 1.092 GB Notification: Performance of Templates: time 0.03134/1.217, allocations: 19.81 MB / 1.432 GB, free: 15.57 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches