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.001977/0.001977, allocations: 109 kB / 16.42 MB, free: 6.465 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.002675/0.002675, allocations: 189.5 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.024/3.024, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.797/4.797, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 75.81 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679/1.681, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.3368/2.018, allocations: 161.6 MB / 1.366 GB, free: 11.39 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.007675/2.025, allocations: 1.763 MB / 1.368 GB, free: 9.621 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007238/2.026, allocations: 11.88 kB / 1.368 GB, free: 9.609 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/2.027, allocations: 166.9 kB / 1.368 GB, free: 9.445 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003132/2.031, allocations: 0.5211 MB / 1.369 GB, free: 8.922 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002993/2.034, allocations: 397.8 kB / 1.369 GB, free: 8.539 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005013/2.039, allocations: 2.52 MB / 1.371 GB, free: 6.012 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002345/2.041, allocations: 0.9333 MB / 1.372 GB, free: 5.062 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00371/2.045, allocations: 1.035 MB / 1.373 GB, free: 4.023 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002112/2.047, allocations: 0.7 MB / 1.374 GB, free: 3.32 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005331/2.048, allocations: 56 kB / 1.374 GB, free: 3.266 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003841/2.051, allocations: 0.7445 MB / 1.375 GB, free: 2.52 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0009918/2.052, allocations: 310.9 kB / 1.375 GB, free: 2.215 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001886/2.054, allocations: 0.5401 MB / 1.376 GB, free: 1.672 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00424/2.059, allocations: 1.396 MB / 1.377 GB, free: 280 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/2.059, allocations: 0 / 1.377 GB, free: 280 kB / 1.092 GB Notification: Performance of FrontEnd: time 2.224e-06/2.059, allocations: 0 / 1.377 GB, free: 280 kB / 1.092 GB Notification: Performance of Transformations before backend: time 6.201e-05/2.059, allocations: 0 / 1.377 GB, free: 280 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.00493/2.064, allocations: 1.462 MB / 1.378 GB, free: 14.75 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.998e-05/2.064, allocations: 8.031 kB / 1.378 GB, free: 14.74 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/2.065, allocations: 182.5 kB / 1.379 GB, free: 14.56 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/2.068, allocations: 0.8489 MB / 1.379 GB, free: 13.66 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.933e-05/2.068, allocations: 45 kB / 1.38 GB, free: 13.61 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/2.068, allocations: 60 kB / 1.38 GB, free: 13.55 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/2.071, allocations: 0.7965 MB / 1.38 GB, free: 12.68 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/2.071, allocations: 7.922 kB / 1.38 GB, free: 12.68 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.109e-05/2.071, allocations: 24 kB / 1.38 GB, free: 12.65 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.753e-05/2.071, allocations: 16 kB / 1.38 GB, free: 12.64 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/2.072, allocations: 0.5305 MB / 1.381 GB, free: 12.11 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.007567/2.08, allocations: 4.598 MB / 1.385 GB, free: 7.125 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/2.081, allocations: 414.2 kB / 1.386 GB, free: 6.711 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006306/2.082, allocations: 250.7 kB / 1.386 GB, free: 6.465 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004516/2.082, allocations: 194.2 kB / 1.386 GB, free: 6.238 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008538/2.083, allocations: 285.6 kB / 1.387 GB, free: 5.941 MB / 1.107 GB Notification: Performance of pre-optimization done (n=31): time 4.498e-06/2.083, allocations: 0 / 1.387 GB, free: 5.941 MB / 1.107 GB Notification: Performance of matching and sorting (n=31): time 0.002297/2.086, allocations: 0.6333 MB / 1.387 GB, free: 5.301 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.934e-05/2.086, allocations: 81.11 kB / 1.387 GB, free: 5.203 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002924/2.089, allocations: 1.118 MB / 1.388 GB, free: 4.066 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.874e-05/2.089, allocations: 37.7 kB / 1.388 GB, free: 4.023 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000829/2.09, allocations: 488.1 kB / 1.389 GB, free: 3.543 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/2.09, allocations: 118.5 kB / 1.389 GB, free: 3.426 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002992/2.09, allocations: 110 kB / 1.389 GB, free: 3.312 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001909/2.09, allocations: 325.9 kB / 1.389 GB, free: 2.988 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005896/2.091, allocations: 218.4 kB / 1.39 GB, free: 2.77 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/2.092, allocations: 0.5213 MB / 1.39 GB, free: 2.117 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/2.093, allocations: 0.6275 MB / 1.391 GB, free: 1.41 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/2.093, allocations: 4 kB / 1.391 GB, free: 1.406 MB / 1.107 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002176/2.096, allocations: 0.7243 MB / 1.391 GB, free: 0.668 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 7.487e-05/2.096, allocations: 33.7 kB / 1.391 GB, free: 0.6289 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/2.096, allocations: 8 kB / 1.391 GB, free: 0.6211 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.038e-05/2.096, allocations: 8 kB / 1.391 GB, free: 0.6133 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002542/2.098, allocations: 359.5 kB / 1.392 GB, free: 268 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005698/2.104, allocations: 6.079 MB / 1.398 GB, free: 9.949 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/2.106, allocations: 71.48 kB / 1.398 GB, free: 9.879 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/2.106, allocations: 27.94 kB / 1.398 GB, free: 9.852 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001308/2.107, allocations: 0.4969 MB / 1.398 GB, free: 9.352 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001045/2.108, allocations: 0.4885 MB / 1.399 GB, free: 8.727 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001209/2.109, allocations: 0.5608 MB / 1.399 GB, free: 8.086 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.849e-06/2.109, allocations: 4 kB / 1.399 GB, free: 8.082 MB / 1.123 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001941/2.111, allocations: 0.6461 MB / 1.4 GB, free: 7.422 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.004119/2.115, allocations: 36.05 kB / 1.4 GB, free: 7.383 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/2.115, allocations: 4 kB / 1.4 GB, free: 7.379 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/2.115, allocations: 8 kB / 1.4 GB, free: 7.371 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000947/2.116, allocations: 156.1 kB / 1.4 GB, free: 7.219 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.689e-05/2.116, allocations: 8 kB / 1.4 GB, free: 7.211 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/2.118, allocations: 68.03 kB / 1.4 GB, free: 7.145 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/2.118, allocations: 24 kB / 1.4 GB, free: 7.121 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.0003867/2.118, allocations: 228 kB / 1.4 GB, free: 6.891 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000437/2.119, allocations: 98.78 kB / 1.401 GB, free: 6.793 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/2.121, allocations: 499 kB / 1.401 GB, free: 6.297 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/2.121, allocations: 0 / 1.401 GB, free: 6.297 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/2.121, allocations: 0 / 1.401 GB, free: 6.297 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006784/2.121, allocations: 211.8 kB / 1.401 GB, free: 6.07 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003261/2.122, allocations: 8 kB / 1.401 GB, free: 6.062 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007002/2.122, allocations: 19.97 kB / 1.401 GB, free: 6.043 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/2.123, allocations: 31.91 kB / 1.401 GB, free: 6.012 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006459/2.129, allocations: 0.766 MB / 1.402 GB, free: 5.207 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002018/2.131, allocations: 0.9194 MB / 1.403 GB, free: 4.27 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005052/2.132, allocations: 175.8 kB / 1.403 GB, free: 4.098 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002/2.134, allocations: 0.7953 MB / 1.404 GB, free: 3.293 MB / 1.123 GB Notification: Performance of Backend: time 6.32e-07/2.134, allocations: 0 / 1.404 GB, free: 3.293 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01057/2.144, allocations: 1.178 MB / 1.405 GB, free: 2.094 MB / 1.123 GB Notification: Performance of SimCode: time 0.0122/2.156, allocations: 2.564 MB / 1.408 GB, free: 15.48 MB / 1.139 GB Notification: Performance of Templates: time 0.06873/2.225, allocations: 19.79 MB / 1.427 GB, free: 11.88 MB / 1.154 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