Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_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_latest_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.001212/0.001212, allocations: 102.7 kB / 16.4 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.001252/0.001252, allocations: 190.8 kB / 17.34 MB, free: 5.586 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.614/2.614, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 67.84 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8668/0.8683, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1808/1.049, allocations: 161.6 MB / 1.366 GB, free: 11.35 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.003716/1.053, allocations: 1.755 MB / 1.368 GB, free: 9.59 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005282/1.053, allocations: 11.94 kB / 1.368 GB, free: 9.578 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007487/1.054, allocations: 166.9 kB / 1.368 GB, free: 9.414 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001724/1.056, allocations: 0.525 MB / 1.369 GB, free: 8.887 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001486/1.057, allocations: 394.5 kB / 1.369 GB, free: 8.504 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003128/1.061, allocations: 2.519 MB / 1.371 GB, free: 5.98 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/1.062, allocations: 0.9411 MB / 1.372 GB, free: 5.023 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00223/1.064, allocations: 1.035 MB / 1.373 GB, free: 3.984 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/1.066, allocations: 0.7039 MB / 1.374 GB, free: 3.277 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002468/1.066, allocations: 56 kB / 1.374 GB, free: 3.223 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001922/1.068, allocations: 0.7445 MB / 1.375 GB, free: 2.477 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004944/1.068, allocations: 302.9 kB / 1.375 GB, free: 2.18 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001101/1.07, allocations: 0.5479 MB / 1.376 GB, free: 1.629 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002209/1.072, allocations: 1.384 MB / 1.377 GB, free: 248 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/1.072, allocations: 0 / 1.377 GB, free: 248 kB / 1.092 GB Notification: Performance of FrontEnd: time 2.185e-06/1.072, allocations: 8 kB / 1.377 GB, free: 240 kB / 1.092 GB Notification: Performance of Transformations before backend: time 4.762e-05/1.072, allocations: 0 / 1.377 GB, free: 240 kB / 1.092 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.00335/1.075, allocations: 1.455 MB / 1.378 GB, free: 14.72 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/1.075, allocations: 16.02 kB / 1.378 GB, free: 14.7 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009672/1.076, allocations: 178.5 kB / 1.379 GB, free: 14.53 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/1.078, allocations: 0.8567 MB / 1.379 GB, free: 13.61 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.634e-05/1.078, allocations: 41 kB / 1.38 GB, free: 13.57 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.633e-05/1.078, allocations: 60 kB / 1.38 GB, free: 13.52 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/1.079, allocations: 0.795 MB / 1.38 GB, free: 12.65 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/1.079, allocations: 7.875 kB / 1.38 GB, free: 12.64 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.998e-05/1.08, allocations: 24 kB / 1.38 GB, free: 12.62 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/1.08, allocations: 12 kB / 1.38 GB, free: 12.61 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009981/1.081, allocations: 0.5383 MB / 1.381 GB, free: 12.07 MB / 1.107 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.005588/1.086, allocations: 4.591 MB / 1.385 GB, free: 7.094 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007637/1.087, allocations: 422.3 kB / 1.386 GB, free: 6.672 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003937/1.087, allocations: 245.2 kB / 1.386 GB, free: 6.43 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003196/1.088, allocations: 194.2 kB / 1.386 GB, free: 6.203 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005227/1.088, allocations: 289.6 kB / 1.387 GB, free: 5.902 MB / 1.107 GB Notification: Performance of pre-optimization done (n=31): time 3.226e-06/1.088, allocations: 0 / 1.387 GB, free: 5.902 MB / 1.107 GB Notification: Performance of matching and sorting (n=31): time 0.001557/1.09, allocations: 0.6293 MB / 1.387 GB, free: 5.266 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/1.09, allocations: 85.11 kB / 1.387 GB, free: 5.164 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/1.092, allocations: 1.114 MB / 1.388 GB, free: 4.023 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.866e-05/1.092, allocations: 37.7 kB / 1.388 GB, free: 3.98 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/1.092, allocations: 496.1 kB / 1.389 GB, free: 3.492 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/1.092, allocations: 110.4 kB / 1.389 GB, free: 3.383 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/1.092, allocations: 110 kB / 1.389 GB, free: 3.27 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.093, allocations: 337.9 kB / 1.389 GB, free: 2.934 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003954/1.093, allocations: 210.4 kB / 1.39 GB, free: 2.723 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006105/1.094, allocations: 0.5135 MB / 1.39 GB, free: 2.078 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009344/1.094, allocations: 0.6394 MB / 1.391 GB, free: 1.359 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/1.094, allocations: 0 / 1.391 GB, free: 1.359 MB / 1.107 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001331/1.096, allocations: 0.7199 MB / 1.391 GB, free: 0.625 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.851e-05/1.096, allocations: 38.34 kB / 1.391 GB, free: 0.582 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/1.096, allocations: 12 kB / 1.391 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/1.096, allocations: 8 kB / 1.391 GB, free: 0.5625 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/1.098, allocations: 351.5 kB / 1.392 GB, free: 224 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003586/1.101, allocations: 6.087 MB / 1.398 GB, free: 9.898 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008615/1.102, allocations: 71.48 kB / 1.398 GB, free: 9.828 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.17e-05/1.102, allocations: 27.94 kB / 1.398 GB, free: 9.801 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008754/1.103, allocations: 0.4928 MB / 1.398 GB, free: 9.305 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005661/1.104, allocations: 494 kB / 1.399 GB, free: 8.684 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007973/1.105, allocations: 0.5567 MB / 1.399 GB, free: 8.047 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.412e-06/1.105, allocations: 4 kB / 1.399 GB, free: 8.043 MB / 1.123 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001245/1.106, allocations: 0.6434 MB / 1.4 GB, free: 7.387 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.83e-05/1.106, allocations: 45.83 kB / 1.4 GB, free: 7.336 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/1.106, allocations: 7.938 kB / 1.4 GB, free: 7.328 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/1.106, allocations: 8 kB / 1.4 GB, free: 7.32 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005496/1.107, allocations: 147.8 kB / 1.4 GB, free: 7.176 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/1.107, allocations: 19.92 kB / 1.4 GB, free: 7.156 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008274/1.107, allocations: 64.03 kB / 1.4 GB, free: 7.094 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/1.108, allocations: 24 kB / 1.4 GB, free: 7.07 MB / 1.123 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.0002251/1.108, allocations: 216.1 kB / 1.4 GB, free: 6.852 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002491/1.108, allocations: 102.8 kB / 1.401 GB, free: 6.75 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/1.109, allocations: 499 kB / 1.401 GB, free: 6.254 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/1.109, allocations: 0 / 1.401 GB, free: 6.254 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/1.109, allocations: 4.188 kB / 1.401 GB, free: 6.25 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.109, allocations: 3.984 kB / 1.401 GB, free: 6.246 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/1.111, allocations: 1.375 MB / 1.402 GB, free: 4.793 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/1.111, allocations: 4 kB / 1.402 GB, free: 4.789 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006271/1.112, allocations: 155.7 kB / 1.403 GB, free: 4.637 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/1.112, allocations: 0 / 1.403 GB, free: 4.637 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/1.112, allocations: 12.22 kB / 1.403 GB, free: 4.625 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00297/1.115, allocations: 6.024 MB / 1.408 GB, free: 14.37 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.115, allocations: 0 / 1.408 GB, free: 14.37 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009209/1.116, allocations: 0.61 MB / 1.409 GB, free: 13.72 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000396/1.116, allocations: 211.9 kB / 1.409 GB, free: 13.49 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/1.117, allocations: 8 kB / 1.409 GB, free: 13.48 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004913/1.117, allocations: 19.97 kB / 1.409 GB, free: 13.46 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/1.117, allocations: 35.91 kB / 1.409 GB, free: 13.43 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/1.117, allocations: 12 kB / 1.409 GB, free: 13.42 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001172/1.118, allocations: 0.7914 MB / 1.41 GB, free: 12.62 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.9e-07/1.118, allocations: 0 / 1.41 GB, free: 12.62 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001463/1.12, allocations: 403.4 kB / 1.41 GB, free: 12.22 MB / 1.139 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.0005637/1.121, allocations: 174.5 kB / 1.411 GB, free: 12.05 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003306/1.124, allocations: 1.097 MB / 1.412 GB, free: 10.94 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/1.124, allocations: 0 / 1.412 GB, free: 10.94 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007997/1.125, allocations: 291.7 kB / 1.412 GB, free: 10.65 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/1.127, allocations: 452.3 kB / 1.412 GB, free: 10.21 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003512/1.131, allocations: 1.818 MB / 1.414 GB, free: 8.336 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008612/1.131, allocations: 1.184 MB / 1.415 GB, free: 7.121 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/1.132, allocations: 67.38 kB / 1.415 GB, free: 7.055 MB / 1.139 GB Notification: Performance of SimCode: time 7.11e-07/1.132, allocations: 0 / 1.415 GB, free: 7.055 MB / 1.139 GB Notification: Performance of Templates: time 0.06828/1.2, allocations: 64.37 MB / 1.478 GB, free: 6.699 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches