Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 114.2 kB / 16.42 MB, free: 6.508 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.001376/0.001376, allocations: 183.9 kB / 17.35 MB, free: 5.754 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.313/1.313, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.571/2.571, allocations: 472.7 MB / 0.746 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 63.89 kB / 1.07 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6955/0.6967, allocations: 159.9 MB / 1.226 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1613/0.858, allocations: 161.6 MB / 1.384 GB, free: 11.43 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.002973/0.861, allocations: 1.762 MB / 1.386 GB, free: 9.66 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004051/0.8615, allocations: 11.94 kB / 1.386 GB, free: 9.648 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005758/0.8621, allocations: 162.9 kB / 1.386 GB, free: 9.488 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.8634, allocations: 0.5562 MB / 1.387 GB, free: 8.93 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.8645, allocations: 398.8 kB / 1.387 GB, free: 8.543 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002722/0.8672, allocations: 2.535 MB / 1.389 GB, free: 6 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.8685, allocations: 0.9265 MB / 1.39 GB, free: 5.066 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001827/0.8704, allocations: 1.036 MB / 1.391 GB, free: 4.027 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.8716, allocations: 0.7078 MB / 1.392 GB, free: 3.316 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001902/0.8718, allocations: 56 kB / 1.392 GB, free: 3.262 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.8732, allocations: 0.7445 MB / 1.393 GB, free: 2.516 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003903/0.8736, allocations: 310.9 kB / 1.393 GB, free: 2.211 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0008234/0.8745, allocations: 0.5401 MB / 1.394 GB, free: 1.668 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.8762, allocations: 1.405 MB / 1.395 GB, free: 264 kB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.8763, allocations: 0 / 1.395 GB, free: 264 kB / 1.107 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8763, allocations: 0 / 1.395 GB, free: 264 kB / 1.107 GB Notification: Performance of Transformations before backend: time 3.521e-05/0.8763, allocations: 0 / 1.395 GB, free: 264 kB / 1.107 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.002451/0.8788, allocations: 1.493 MB / 1.397 GB, free: 14.7 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.8788, allocations: 8.031 kB / 1.397 GB, free: 14.69 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008187/0.8796, allocations: 199.1 kB / 1.397 GB, free: 14.49 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.881, allocations: 0.8578 MB / 1.398 GB, free: 13.58 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/0.8811, allocations: 45 kB / 1.398 GB, free: 13.54 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.8812, allocations: 60 kB / 1.398 GB, free: 13.48 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.8825, allocations: 0.7926 MB / 1.398 GB, free: 12.61 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.8825, allocations: 0 / 1.398 GB, free: 12.61 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.756e-05/0.8826, allocations: 24 kB / 1.398 GB, free: 12.59 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.8826, allocations: 12 kB / 1.398 GB, free: 12.57 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.8837, allocations: 0.5305 MB / 1.399 GB, free: 12.04 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.003928/0.8876, allocations: 4.611 MB / 1.403 GB, free: 7.047 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007069/0.8884, allocations: 414.2 kB / 1.404 GB, free: 6.633 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003879/0.8888, allocations: 246.4 kB / 1.404 GB, free: 6.391 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002912/0.8891, allocations: 198.2 kB / 1.404 GB, free: 6.16 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004914/0.8896, allocations: 293 kB / 1.405 GB, free: 5.855 MB / 1.123 GB Notification: Performance of pre-optimization done (n=31): time 1.763e-06/0.8896, allocations: 4 kB / 1.405 GB, free: 5.852 MB / 1.123 GB Notification: Performance of matching and sorting (n=31): time 0.001344/0.8909, allocations: 0.6384 MB / 1.405 GB, free: 5.207 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.891, allocations: 81.11 kB / 1.405 GB, free: 5.109 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.8923, allocations: 1.11 MB / 1.406 GB, free: 3.98 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.693e-05/0.8924, allocations: 45.69 kB / 1.406 GB, free: 3.93 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003811/0.8928, allocations: 488.8 kB / 1.407 GB, free: 3.445 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.968e-05/0.8929, allocations: 119 kB / 1.407 GB, free: 3.328 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.893, allocations: 110.1 kB / 1.407 GB, free: 3.215 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.8932, allocations: 333.9 kB / 1.407 GB, free: 2.883 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003902/0.8936, allocations: 210.4 kB / 1.408 GB, free: 2.672 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006107/0.8942, allocations: 0.5175 MB / 1.408 GB, free: 2.02 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008846/0.8951, allocations: 0.6387 MB / 1.409 GB, free: 1.301 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.8951, allocations: 0 / 1.409 GB, free: 1.301 MB / 1.123 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001183/0.8963, allocations: 0.7244 MB / 1.409 GB, free: 0.5625 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/0.8963, allocations: 35.42 kB / 1.409 GB, free: 0.5234 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.8963, allocations: 4.656 kB / 1.409 GB, free: 0.5195 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.8964, allocations: 12 kB / 1.409 GB, free: 0.5078 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004239/0.8968, allocations: 111.8 kB / 1.41 GB, free: 408 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/0.8968, allocations: 15.92 kB / 1.41 GB, free: 392 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005714/0.8974, allocations: 75.84 kB / 1.41 GB, free: 316 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.347e-05/0.8975, allocations: 20 kB / 1.41 GB, free: 296 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006567/0.8981, allocations: 0.5084 MB / 1.41 GB, free: 15.77 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005404/0.8987, allocations: 489.9 kB / 1.411 GB, free: 15.16 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000737/0.8994, allocations: 0.5566 MB / 1.411 GB, free: 14.52 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.916e-06/0.8995, allocations: 4 kB / 1.411 GB, free: 14.52 MB / 1.139 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001021/0.9005, allocations: 0.6464 MB / 1.412 GB, free: 13.86 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.9005, allocations: 33.7 kB / 1.412 GB, free: 13.82 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.9005, allocations: 8 kB / 1.412 GB, free: 13.81 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.9006, allocations: 8 kB / 1.412 GB, free: 13.8 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.9009, allocations: 112.4 kB / 1.412 GB, free: 13.7 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.901, allocations: 11.94 kB / 1.412 GB, free: 13.68 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005727/0.9015, allocations: 60.12 kB / 1.412 GB, free: 13.62 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/0.9016, allocations: 24 kB / 1.412 GB, free: 13.6 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.9017, allocations: 220 kB / 1.412 GB, free: 13.38 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.9019, allocations: 111.3 kB / 1.412 GB, free: 13.27 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008551/0.9027, allocations: 491.2 kB / 1.413 GB, free: 12.79 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.9028, allocations: 3.984 kB / 1.413 GB, free: 12.78 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.9028, allocations: 3.984 kB / 1.413 GB, free: 12.78 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002743/0.903, allocations: 212.4 kB / 1.413 GB, free: 12.55 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.9032, allocations: 12 kB / 1.413 GB, free: 12.54 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.9035, allocations: 19.92 kB / 1.413 GB, free: 12.52 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.329e-05/0.9036, allocations: 35.89 kB / 1.413 GB, free: 12.48 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009091/0.9045, allocations: 0.5664 MB / 1.414 GB, free: 11.91 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008269/0.9054, allocations: 0.7093 MB / 1.414 GB, free: 11.19 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003191/0.9057, allocations: 175.8 kB / 1.415 GB, free: 11.02 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000943/0.9066, allocations: 0.7914 MB / 1.415 GB, free: 10.21 MB / 1.139 GB Notification: Performance of Backend: time 7.62e-07/0.9066, allocations: 0 / 1.415 GB, free: 10.21 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001978/0.9086, allocations: 0.9114 MB / 1.416 GB, free: 9.285 MB / 1.139 GB Notification: Performance of SimCode: time 0.003555/0.9122, allocations: 2.467 MB / 1.419 GB, free: 6.762 MB / 1.139 GB Notification: Performance of Templates: time 0.03111/0.9433, allocations: 18.91 MB / 1.437 GB, free: 4.031 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches