Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_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_10_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.007985/0.007985, allocations: 95.38 kB / 15.73 MB, free: 6.043 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.001633/0.001633, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.605/2.605, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.91 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2957, allocations: 151.6 MB / 1.167 GB, free: 6.781 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.7909/1.087, allocations: 161.6 MB / 1.324 GB, free: 7.516 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005249/1.092, allocations: 3.624 MB / 1.328 GB, free: 5.012 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003713/1.092, allocations: 10.22 kB / 1.328 GB, free: 5.008 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006261/1.093, allocations: 161.4 kB / 1.328 GB, free: 4.91 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001506/1.094, allocations: 0.5557 MB / 1.329 GB, free: 4.613 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001319/1.096, allocations: 445.3 kB / 1.329 GB, free: 4.406 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003291/1.099, allocations: 2.544 MB / 1.332 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001546/1.101, allocations: 0.9325 MB / 1.332 GB, free: 2.953 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002082/1.103, allocations: 1.048 MB / 1.334 GB, free: 2.539 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008462/1.104, allocations: 0.7009 MB / 1.334 GB, free: 2.234 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/1.104, allocations: 55.38 kB / 1.334 GB, free: 2.234 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/1.105, allocations: 0.7458 MB / 1.335 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003773/1.106, allocations: 308.2 kB / 1.335 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007482/1.107, allocations: 0.5452 MB / 1.336 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001776/1.108, allocations: 1.405 MB / 1.337 GB, free: 1.047 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/1.108, allocations: 3.938 kB / 1.337 GB, free: 1.043 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.474e-06/1.108, allocations: 0 / 1.337 GB, free: 1.043 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.762e-05/1.108, allocations: 0.9062 kB / 1.337 GB, free: 1.043 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.002684/1.111, allocations: 1.487 MB / 1.339 GB, free: 8 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/1.111, allocations: 8.531 kB / 1.339 GB, free: 8 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008477/1.112, allocations: 200.1 kB / 1.339 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/1.114, allocations: 0.8645 MB / 1.34 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/1.114, allocations: 42.22 kB / 1.34 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.805e-05/1.114, allocations: 58.16 kB / 1.34 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/1.115, allocations: 0.7927 MB / 1.341 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/1.115, allocations: 10.12 kB / 1.341 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.736e-05/1.115, allocations: 27.12 kB / 1.341 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/1.115, allocations: 12.22 kB / 1.341 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009245/1.116, allocations: 0.5331 MB / 1.341 GB, free: 14.8 MB / 1.029 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.004097/1.12, allocations: 4.594 MB / 1.346 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000697/1.121, allocations: 414.1 kB / 1.346 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003773/1.121, allocations: 244.7 kB / 1.346 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003006/1.121, allocations: 192.6 kB / 1.346 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004828/1.122, allocations: 305.6 kB / 1.347 GB, free: 10.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=31): time 1.803e-06/1.122, allocations: 0 / 1.347 GB, free: 10.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=31): time 0.005542/1.128, allocations: 1.654 MB / 1.348 GB, free: 9.918 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/1.128, allocations: 81.45 kB / 1.348 GB, free: 9.824 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/1.129, allocations: 1.119 MB / 1.349 GB, free: 9.434 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-05/1.129, allocations: 38.98 kB / 1.35 GB, free: 9.395 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004631/1.13, allocations: 495.6 kB / 1.35 GB, free: 9.012 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/1.13, allocations: 113.6 kB / 1.35 GB, free: 8.926 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/1.13, allocations: 116.3 kB / 1.35 GB, free: 8.867 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001141/1.13, allocations: 324.6 kB / 1.351 GB, free: 8.555 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/1.131, allocations: 220.5 kB / 1.351 GB, free: 8.484 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006179/1.131, allocations: 0.526 MB / 1.351 GB, free: 8.043 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008928/1.132, allocations: 0.6267 MB / 1.352 GB, free: 7.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/1.132, allocations: 5.062 kB / 1.352 GB, free: 7.656 MB / 1.029 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002256/1.134, allocations: 1.046 MB / 1.353 GB, free: 7.258 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.023e-05/1.134, allocations: 36.8 kB / 1.353 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/1.134, allocations: 5.562 kB / 1.353 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/1.136, allocations: 382.5 kB / 1.353 GB, free: 7.148 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/1.136, allocations: 61.58 kB / 1.353 GB, free: 7.141 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/1.138, allocations: 1.08 MB / 1.354 GB, free: 6.461 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008781/1.138, allocations: 75.25 kB / 1.354 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/1.139, allocations: 30.48 kB / 1.355 GB, free: 6.418 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007828/1.139, allocations: 0.4966 MB / 1.355 GB, free: 6.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005522/1.14, allocations: 0.4885 MB / 1.355 GB, free: 5.797 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007838/1.141, allocations: 0.5604 MB / 1.356 GB, free: 5.422 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.849e-06/1.141, allocations: 2.375 kB / 1.356 GB, free: 5.422 MB / 1.029 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001494/1.142, allocations: 0.8374 MB / 1.357 GB, free: 5.012 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/1.142, allocations: 33.33 kB / 1.357 GB, free: 4.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.142, allocations: 5.969 kB / 1.357 GB, free: 4.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005498/1.143, allocations: 216.8 kB / 1.357 GB, free: 4.887 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/1.143, allocations: 61 kB / 1.357 GB, free: 4.871 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003834/1.147, allocations: 3.258 MB / 1.36 GB, free: 2.289 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008168/1.148, allocations: 74.86 kB / 1.36 GB, free: 2.246 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/1.148, allocations: 20.97 kB / 1.36 GB, free: 2.242 MB / 1.029 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.0002373/1.148, allocations: 214.3 kB / 1.361 GB, free: 2.043 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/1.148, allocations: 107.4 kB / 1.361 GB, free: 1.984 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/1.149, allocations: 0.7074 MB / 1.361 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/1.149, allocations: 4.062 kB / 1.361 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/1.149, allocations: 1.469 kB / 1.361 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/1.15, allocations: 3.984 kB / 1.361 GB, free: 1.574 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/1.152, allocations: 1.604 MB / 1.363 GB, free: 484 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/1.152, allocations: 2.562 kB / 1.363 GB, free: 484 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/1.152, allocations: 23.17 kB / 1.363 GB, free: 476 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004666/1.153, allocations: 253 kB / 1.363 GB, free: 360 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/1.153, allocations: 13.72 kB / 1.363 GB, free: 352 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000995/1.154, allocations: 1.031 MB / 1.364 GB, free: 15.55 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.154, allocations: 2.656 kB / 1.364 GB, free: 15.55 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/1.155, allocations: 0.8314 MB / 1.365 GB, free: 15.01 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003843/1.155, allocations: 218.3 kB / 1.365 GB, free: 14.82 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/1.155, allocations: 13.02 kB / 1.365 GB, free: 14.82 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004257/1.156, allocations: 19.3 kB / 1.365 GB, free: 14.81 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.1e-05/1.156, allocations: 32.27 kB / 1.365 GB, free: 14.79 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/1.156, allocations: 8.062 kB / 1.365 GB, free: 14.79 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000974/1.157, allocations: 0.7978 MB / 1.366 GB, free: 14.35 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.6e-07/1.157, allocations: 3.531 kB / 1.366 GB, free: 14.35 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001336/1.158, allocations: 436.3 kB / 1.367 GB, free: 14.29 MB / 1.045 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.000396/1.159, allocations: 175.8 kB / 1.367 GB, free: 14.16 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002426/1.161, allocations: 1.217 MB / 1.368 GB, free: 13.45 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.161, allocations: 0 / 1.368 GB, free: 13.45 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006046/1.162, allocations: 284.3 kB / 1.368 GB, free: 13.32 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/1.164, allocations: 459.2 kB / 1.369 GB, free: 13.09 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/1.166, allocations: 1.802 MB / 1.37 GB, free: 12.04 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006939/1.167, allocations: 1.181 MB / 1.372 GB, free: 11.11 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0007724/1.168, allocations: 319.7 kB / 1.372 GB, free: 10.96 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/1.168, allocations: 58.78 kB / 1.372 GB, free: 10.95 MB / 1.045 GB Notification: Performance of SimCode: time 6.41e-07/1.168, allocations: 0 / 1.372 GB, free: 10.95 MB / 1.045 GB Notification: Performance of Templates: time 0.03413/1.202, allocations: 19.43 MB / 1.391 GB, free: 13.55 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches