Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009873/0.0009874, allocations: 112.9 kB / 16.42 MB, free: 6.016 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.0009929/0.000993, allocations: 192.9 kB / 17.35 MB, free: 5.617 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.32/1.32, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.555/2.555, allocations: 472.7 MB / 0.746 GB, free: 476 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 67.89 kB / 1.07 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7199/0.7214, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1575/0.8789, allocations: 161.6 MB / 1.384 GB, free: 11.31 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.004465/0.8834, allocations: 3.637 MB / 1.388 GB, free: 7.664 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.8837, allocations: 11.88 kB / 1.388 GB, free: 7.652 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005246/0.8842, allocations: 170.8 kB / 1.388 GB, free: 7.484 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.8854, allocations: 0.5524 MB / 1.388 GB, free: 6.93 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.8865, allocations: 440.9 kB / 1.389 GB, free: 6.504 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00241/0.8889, allocations: 2.547 MB / 1.391 GB, free: 3.949 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.89, allocations: 0.9406 MB / 1.392 GB, free: 3.004 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/0.8914, allocations: 1.047 MB / 1.393 GB, free: 1.953 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007336/0.8921, allocations: 0.7117 MB / 1.394 GB, free: 1.238 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.8922, allocations: 56 kB / 1.394 GB, free: 1.184 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.8934, allocations: 0.7406 MB / 1.395 GB, free: 452 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000274/0.8937, allocations: 314.8 kB / 1.395 GB, free: 136 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005357/0.8943, allocations: 0.5401 MB / 1.396 GB, free: 15.59 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.8957, allocations: 1.41 MB / 1.397 GB, free: 14.18 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.8957, allocations: 0 / 1.397 GB, free: 14.18 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.724e-06/0.8957, allocations: 0 / 1.397 GB, free: 14.18 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.8957, allocations: 0 / 1.397 GB, free: 14.18 MB / 1.123 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.002013/0.8977, allocations: 1.485 MB / 1.398 GB, free: 12.62 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.8978, allocations: 12.02 kB / 1.398 GB, free: 12.61 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007169/0.8985, allocations: 195.1 kB / 1.399 GB, free: 12.42 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.8997, allocations: 0.8657 MB / 1.399 GB, free: 11.5 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.8997, allocations: 45 kB / 1.399 GB, free: 11.46 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-05/0.8998, allocations: 56 kB / 1.4 GB, free: 11.4 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.9009, allocations: 0.7888 MB / 1.4 GB, free: 10.54 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.9009, allocations: 3.938 kB / 1.4 GB, free: 10.54 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.84e-05/0.901, allocations: 24 kB / 1.4 GB, free: 10.51 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.901, allocations: 15.98 kB / 1.4 GB, free: 10.5 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000855/0.9018, allocations: 0.5344 MB / 1.401 GB, free: 9.961 MB / 1.123 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.003499/0.9054, allocations: 4.599 MB / 1.405 GB, free: 4.977 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006588/0.906, allocations: 422.2 kB / 1.406 GB, free: 4.555 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/0.9064, allocations: 246 kB / 1.406 GB, free: 4.312 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002779/0.9067, allocations: 194.2 kB / 1.406 GB, free: 4.086 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004587/0.9071, allocations: 296.8 kB / 1.406 GB, free: 3.777 MB / 1.123 GB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/0.9072, allocations: 0 / 1.406 GB, free: 3.777 MB / 1.123 GB Notification: Performance of matching and sorting (n=31): time 0.003742/0.9109, allocations: 1.314 MB / 1.408 GB, free: 2.434 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.911, allocations: 85.09 kB / 1.408 GB, free: 2.332 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.9122, allocations: 1.114 MB / 1.409 GB, free: 1.199 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.362e-05/0.9123, allocations: 37.92 kB / 1.409 GB, free: 1.156 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/0.9126, allocations: 0.493 MB / 1.409 GB, free: 0.6562 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 7.947e-05/0.9127, allocations: 111 kB / 1.41 GB, free: 0.5469 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.9129, allocations: 118 kB / 1.41 GB, free: 436 kB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.913, allocations: 329.9 kB / 1.41 GB, free: 100 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/0.9134, allocations: 210.4 kB / 1.41 GB, free: 15.89 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005615/0.914, allocations: 0.5213 MB / 1.411 GB, free: 15.23 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008259/0.9148, allocations: 0.6269 MB / 1.411 GB, free: 14.52 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.892e-06/0.9148, allocations: 4 kB / 1.411 GB, free: 14.52 MB / 1.139 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002256/0.9171, allocations: 1.041 MB / 1.412 GB, free: 13.46 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.904e-05/0.9171, allocations: 33.7 kB / 1.412 GB, free: 13.42 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.9172, allocations: 11.98 kB / 1.412 GB, free: 13.41 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001508/0.9187, allocations: 352.8 kB / 1.413 GB, free: 13.06 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.9189, allocations: 63.91 kB / 1.413 GB, free: 13 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009994/0.9199, allocations: 1.009 MB / 1.414 GB, free: 11.96 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006048/0.9205, allocations: 75.56 kB / 1.414 GB, free: 11.89 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.93e-05/0.9206, allocations: 24 kB / 1.414 GB, free: 11.87 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007141/0.9213, allocations: 0.5006 MB / 1.414 GB, free: 11.36 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005559/0.9219, allocations: 0.4901 MB / 1.415 GB, free: 10.74 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007264/0.9226, allocations: 0.5528 MB / 1.415 GB, free: 10.11 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.957e-06/0.9226, allocations: 4 kB / 1.415 GB, free: 10.1 MB / 1.139 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001462/0.9241, allocations: 0.8347 MB / 1.416 GB, free: 9.25 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.9242, allocations: 41.69 kB / 1.416 GB, free: 9.203 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.9242, allocations: 7.984 kB / 1.416 GB, free: 9.195 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005105/0.9247, allocations: 206.5 kB / 1.416 GB, free: 8.992 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.9249, allocations: 67.78 kB / 1.416 GB, free: 8.926 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003618/0.9285, allocations: 3.345 MB / 1.42 GB, free: 5.43 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000577/0.9291, allocations: 68.06 kB / 1.42 GB, free: 5.363 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.9292, allocations: 28 kB / 1.42 GB, free: 5.336 MB / 1.139 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 {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001661/0.9293, allocations: 213.1 kB / 1.42 GB, free: 5.121 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.9295, allocations: 107.3 kB / 1.42 GB, free: 5.016 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.9307, allocations: 0.7023 MB / 1.421 GB, free: 4.297 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.9307, allocations: 3.984 kB / 1.421 GB, free: 4.293 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9307, allocations: 0 / 1.421 GB, free: 4.293 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/0.931, allocations: 216.4 kB / 1.421 GB, free: 4.062 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.9311, allocations: 7.938 kB / 1.421 GB, free: 4.055 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003682/0.9315, allocations: 27.97 kB / 1.421 GB, free: 4.027 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.9316, allocations: 43.92 kB / 1.421 GB, free: 3.984 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001313/0.933, allocations: 0.8011 MB / 1.422 GB, free: 3.172 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001116/0.9341, allocations: 0.9218 MB / 1.423 GB, free: 2.234 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002997/0.9344, allocations: 179.8 kB / 1.423 GB, free: 2.059 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000951/0.9354, allocations: 0.7955 MB / 1.424 GB, free: 1.254 MB / 1.139 GB Notification: Performance of Backend: time 7.52e-07/0.9354, allocations: 0 / 1.424 GB, free: 1.254 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002485/0.9379, allocations: 1.177 MB / 1.425 GB, free: 52 kB / 1.139 GB Notification: Performance of SimCode: time 0.003808/0.9417, allocations: 2.666 MB / 1.427 GB, free: 13.33 MB / 1.154 GB Notification: Performance of Templates: time 0.03249/0.9742, allocations: 20.62 MB / 1.448 GB, free: 8.891 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches