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 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.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.001547/0.001547, allocations: 115.3 kB / 16.42 MB, free: 6.496 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.001665/0.001665, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.293/1.293, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.585/2.585, allocations: 472.7 MB / 0.746 GB, free: 468 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 71.89 kB / 1.07 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6821/0.6834, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1569/0.8404, allocations: 161.6 MB / 1.384 GB, free: 11.26 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.004506/0.845, allocations: 3.637 MB / 1.388 GB, free: 7.609 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002546/0.8452, allocations: 11.94 kB / 1.388 GB, free: 7.598 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005528/0.8458, allocations: 162.9 kB / 1.388 GB, free: 7.438 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.8471, allocations: 0.5523 MB / 1.388 GB, free: 6.883 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.8481, allocations: 433.5 kB / 1.389 GB, free: 6.465 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002433/0.8506, allocations: 2.547 MB / 1.391 GB, free: 3.91 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.8516, allocations: 0.9381 MB / 1.392 GB, free: 2.965 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.853, allocations: 1.047 MB / 1.393 GB, free: 1.914 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007604/0.8538, allocations: 0.7156 MB / 1.394 GB, free: 1.195 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.8539, allocations: 60 kB / 1.394 GB, free: 1.137 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.8552, allocations: 0.7367 MB / 1.395 GB, free: 408 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002811/0.8555, allocations: 318.8 kB / 1.395 GB, free: 88 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005428/0.856, allocations: 0.5362 MB / 1.396 GB, free: 15.55 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.8575, allocations: 1.416 MB / 1.397 GB, free: 14.13 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8575, allocations: 0 / 1.397 GB, free: 14.13 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8575, allocations: 0 / 1.397 GB, free: 14.13 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.8575, allocations: 0 / 1.397 GB, free: 14.13 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.002062/0.8596, allocations: 1.491 MB / 1.398 GB, free: 12.57 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.8596, allocations: 8.031 kB / 1.398 GB, free: 12.57 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007309/0.8604, allocations: 199.1 kB / 1.399 GB, free: 12.37 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.8616, allocations: 0.8618 MB / 1.399 GB, free: 11.45 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.406e-05/0.8617, allocations: 48.94 kB / 1.399 GB, free: 11.41 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.685e-05/0.8618, allocations: 56 kB / 1.4 GB, free: 11.35 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.8629, allocations: 0.7908 MB / 1.4 GB, free: 10.49 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.8629, allocations: 11.92 kB / 1.4 GB, free: 10.48 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.573e-05/0.863, allocations: 20 kB / 1.4 GB, free: 10.46 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.863, allocations: 16 kB / 1.4 GB, free: 10.44 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008759/0.8639, allocations: 0.5305 MB / 1.401 GB, free: 9.91 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.003714/0.8676, allocations: 4.596 MB / 1.405 GB, free: 4.93 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00069/0.8683, allocations: 414.3 kB / 1.406 GB, free: 4.516 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003706/0.8687, allocations: 252.7 kB / 1.406 GB, free: 4.27 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002858/0.869, allocations: 186.2 kB / 1.406 GB, free: 4.051 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004628/0.8695, allocations: 300.8 kB / 1.406 GB, free: 3.738 MB / 1.123 GB Notification: Performance of pre-optimization done (n=31): time 1.934e-06/0.8695, allocations: 0 / 1.406 GB, free: 3.738 MB / 1.123 GB Notification: Performance of matching and sorting (n=31): time 0.004864/0.8743, allocations: 1.653 MB / 1.408 GB, free: 2.055 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.8744, allocations: 81.33 kB / 1.408 GB, free: 1.957 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.8756, allocations: 1.118 MB / 1.409 GB, free: 0.8203 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/0.8757, allocations: 45.62 kB / 1.409 GB, free: 0.7695 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/0.876, allocations: 496.8 kB / 1.41 GB, free: 284 kB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.138e-05/0.8761, allocations: 111 kB / 1.41 GB, free: 172 kB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.8763, allocations: 114 kB / 1.41 GB, free: 52 kB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.8764, allocations: 326 kB / 1.41 GB, free: 15.73 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004962/0.8769, allocations: 218.4 kB / 1.41 GB, free: 15.51 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009216/0.8778, allocations: 0.5135 MB / 1.411 GB, free: 14.86 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008548/0.8787, allocations: 0.6308 MB / 1.412 GB, free: 14.15 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.8787, allocations: 4 kB / 1.412 GB, free: 14.14 MB / 1.139 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002087/0.8808, allocations: 1.038 MB / 1.413 GB, free: 13.09 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.814e-05/0.8809, allocations: 35.58 kB / 1.413 GB, free: 13.05 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.8809, allocations: 11.97 kB / 1.413 GB, free: 13.04 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.8824, allocations: 379.2 kB / 1.413 GB, free: 12.67 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.8826, allocations: 59.91 kB / 1.413 GB, free: 12.61 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.8839, allocations: 1.083 MB / 1.414 GB, free: 11.5 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005821/0.8845, allocations: 79.59 kB / 1.414 GB, free: 11.42 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/0.8846, allocations: 31.97 kB / 1.414 GB, free: 11.39 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006363/0.8852, allocations: 0.4966 MB / 1.415 GB, free: 10.89 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005051/0.8857, allocations: 494 kB / 1.415 GB, free: 10.27 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000698/0.8864, allocations: 0.5567 MB / 1.416 GB, free: 9.637 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.614e-06/0.8864, allocations: 0 / 1.416 GB, free: 9.637 MB / 1.139 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001502/0.8879, allocations: 0.8504 MB / 1.417 GB, free: 8.77 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.888, allocations: 37.7 kB / 1.417 GB, free: 8.727 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.888, allocations: 4 kB / 1.417 GB, free: 8.723 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005308/0.8885, allocations: 216.7 kB / 1.417 GB, free: 8.508 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.8888, allocations: 59.91 kB / 1.417 GB, free: 8.449 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003745/0.8925, allocations: 3.26 MB / 1.42 GB, free: 5.047 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006245/0.8932, allocations: 72 kB / 1.42 GB, free: 4.977 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/0.8932, allocations: 24 kB / 1.42 GB, free: 4.953 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 {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002243/0.8934, allocations: 216.1 kB / 1.42 GB, free: 4.734 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.8936, allocations: 103.3 kB / 1.42 GB, free: 4.633 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.8949, allocations: 0.7103 MB / 1.421 GB, free: 3.906 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.8949, allocations: 3.984 kB / 1.421 GB, free: 3.902 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.8949, allocations: 3.938 kB / 1.421 GB, free: 3.898 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/0.8952, allocations: 212.4 kB / 1.421 GB, free: 3.672 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.8953, allocations: 8 kB / 1.421 GB, free: 3.664 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/0.8957, allocations: 24.06 kB / 1.421 GB, free: 3.641 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.8958, allocations: 51.91 kB / 1.421 GB, free: 3.59 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001328/0.8971, allocations: 0.7894 MB / 1.422 GB, free: 2.789 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001143/0.8983, allocations: 0.9356 MB / 1.423 GB, free: 1.84 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000308/0.8986, allocations: 179.8 kB / 1.423 GB, free: 1.664 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009219/0.8995, allocations: 0.7955 MB / 1.424 GB, free: 0.8594 MB / 1.139 GB Notification: Performance of Backend: time 3.41e-07/0.8995, allocations: 0 / 1.424 GB, free: 0.8594 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00311/0.9026, allocations: 1.294 MB / 1.425 GB, free: 15.53 MB / 1.154 GB Notification: Performance of SimCode: time 0.003685/0.9063, allocations: 2.702 MB / 1.428 GB, free: 12.78 MB / 1.154 GB Notification: Performance of Templates: time 0.03093/0.9373, allocations: 20.34 MB / 1.448 GB, free: 8.613 MB / 1.17 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/jenkins1/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