Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 108.2 kB / 16.41 MB, free: 6.52 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.001334/0.001334, allocations: 189.5 kB / 17.35 MB, free: 5.73 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.599/2.599, allocations: 472.7 MB / 0.746 GB, free: 440 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.89 kB / 1.07 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6795/0.6808, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.1587/0.8396, allocations: 167.8 MB / 1.39 GB, free: 5.117 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.003306/0.8429, allocations: 2.21 MB / 1.392 GB, free: 2.906 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.8432, allocations: 19.88 kB / 1.392 GB, free: 2.887 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006675/0.8438, allocations: 246.5 kB / 1.393 GB, free: 2.645 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.8453, allocations: 0.704 MB / 1.393 GB, free: 1.938 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009893/0.8463, allocations: 444.7 kB / 1.394 GB, free: 1.508 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002555/0.8488, allocations: 2.773 MB / 1.396 GB, free: 14.73 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002634/0.8515, allocations: 2.56 MB / 1.399 GB, free: 12.15 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001714/0.8532, allocations: 1.281 MB / 1.4 GB, free: 10.86 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009046/0.8541, allocations: 0.8598 MB / 1.401 GB, free: 10 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.8543, allocations: 76 kB / 1.401 GB, free: 9.926 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.8556, allocations: 0.8186 MB / 1.402 GB, free: 9.105 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003272/0.856, allocations: 366.7 kB / 1.402 GB, free: 8.746 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005915/0.8566, allocations: 0.6179 MB / 1.403 GB, free: 8.125 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.8581, allocations: 1.62 MB / 1.404 GB, free: 6.5 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.8581, allocations: 0 / 1.404 GB, free: 6.5 MB / 1.123 GB Notification: Performance of FrontEnd: time 9.61e-07/0.8581, allocations: 0 / 1.404 GB, free: 6.5 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.8582, allocations: 0 / 1.404 GB, free: 6.5 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002397/0.8606, allocations: 1.665 MB / 1.406 GB, free: 4.773 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.8606, allocations: 11.97 kB / 1.406 GB, free: 4.762 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007716/0.8614, allocations: 207.1 kB / 1.406 GB, free: 4.559 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.8627, allocations: 0.933 MB / 1.407 GB, free: 3.57 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/0.8627, allocations: 49.31 kB / 1.407 GB, free: 3.523 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.8629, allocations: 67.94 kB / 1.407 GB, free: 3.457 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.8642, allocations: 0.9909 MB / 1.408 GB, free: 2.391 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.8642, allocations: 4 kB / 1.408 GB, free: 2.387 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.978e-05/0.8643, allocations: 20 kB / 1.408 GB, free: 2.367 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.8643, allocations: 16 kB / 1.408 GB, free: 2.352 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.8655, allocations: 0.7921 MB / 1.409 GB, free: 1.559 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.003925/0.8695, allocations: 4.77 MB / 1.414 GB, free: 12.45 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002783/0.8723, allocations: 4.021 MB / 1.418 GB, free: 7.598 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005026/0.8728, allocations: 357.7 kB / 1.418 GB, free: 7.246 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003266/0.8731, allocations: 198.5 kB / 1.418 GB, free: 7.016 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005279/0.8737, allocations: 325 kB / 1.418 GB, free: 6.68 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000173/0.8738, allocations: 27.78 kB / 1.419 GB, free: 6.652 MB / 1.139 GB Notification: Performance of pre-optimization done (n=35): time 2.114e-06/0.8739, allocations: 0 / 1.419 GB, free: 6.652 MB / 1.139 GB Notification: Performance of matching and sorting (n=35): time 0.004523/0.8784, allocations: 1.591 MB / 1.42 GB, free: 5.031 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.8784, allocations: 85.11 kB / 1.42 GB, free: 4.93 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.8797, allocations: 1.18 MB / 1.421 GB, free: 3.734 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.688e-05/0.8798, allocations: 41.69 kB / 1.421 GB, free: 3.688 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003797/0.8802, allocations: 0.5207 MB / 1.422 GB, free: 3.16 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 8.916e-05/0.8803, allocations: 126.9 kB / 1.422 GB, free: 3.035 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.8804, allocations: 118.2 kB / 1.422 GB, free: 2.914 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 9.348e-05/0.8805, allocations: 326 kB / 1.422 GB, free: 2.59 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003994/0.8809, allocations: 242.8 kB / 1.423 GB, free: 2.348 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006113/0.8816, allocations: 0.5527 MB / 1.423 GB, free: 1.66 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008976/0.8825, allocations: 0.6823 MB / 1.424 GB, free: 0.8984 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.8825, allocations: 0 / 1.424 GB, free: 0.8984 MB / 1.139 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002173/0.8847, allocations: 1.111 MB / 1.425 GB, free: 15.77 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.8847, allocations: 37.69 kB / 1.425 GB, free: 15.72 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.8847, allocations: 8.625 kB / 1.425 GB, free: 15.71 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.886, allocations: 344.5 kB / 1.425 GB, free: 15.38 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.8864, allocations: 99.8 kB / 1.425 GB, free: 15.28 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009492/0.8873, allocations: 1.007 MB / 1.426 GB, free: 14.25 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007027/0.888, allocations: 63.92 kB / 1.426 GB, free: 14.18 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.104e-05/0.8881, allocations: 28 kB / 1.426 GB, free: 14.16 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006796/0.8888, allocations: 0.5242 MB / 1.427 GB, free: 13.62 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005378/0.8893, allocations: 0.5215 MB / 1.427 GB, free: 12.96 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007634/0.8901, allocations: 0.5915 MB / 1.428 GB, free: 12.29 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.059e-06/0.8901, allocations: 4 kB / 1.428 GB, free: 12.29 MB / 1.154 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001473/0.8916, allocations: 0.9049 MB / 1.429 GB, free: 11.37 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.8916, allocations: 33.7 kB / 1.429 GB, free: 11.33 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.8916, allocations: 8 kB / 1.429 GB, free: 11.32 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005089/0.8922, allocations: 233.1 kB / 1.429 GB, free: 11.09 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/0.8925, allocations: 95.62 kB / 1.429 GB, free: 11 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003427/0.896, allocations: 3.154 MB / 1.432 GB, free: 7.711 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007622/0.8967, allocations: 71.97 kB / 1.432 GB, free: 7.641 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.623e-05/0.8968, allocations: 24 kB / 1.432 GB, free: 7.617 MB / 1.154 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * 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.0001779/0.897, allocations: 227 kB / 1.433 GB, free: 7.391 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.8971, allocations: 111.2 kB / 1.433 GB, free: 7.281 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.8985, allocations: 0.7737 MB / 1.434 GB, free: 6.492 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.8985, allocations: 7.922 kB / 1.434 GB, free: 6.484 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.8985, allocations: 0 / 1.434 GB, free: 6.484 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003113/0.8988, allocations: 228.3 kB / 1.434 GB, free: 6.242 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.899, allocations: 15.92 kB / 1.434 GB, free: 6.227 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005041/0.8995, allocations: 35.95 kB / 1.434 GB, free: 6.191 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.8996, allocations: 43.92 kB / 1.434 GB, free: 6.148 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001482/0.9011, allocations: 0.8574 MB / 1.435 GB, free: 5.281 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001238/0.9023, allocations: 1.001 MB / 1.436 GB, free: 4.266 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003442/0.9027, allocations: 207.8 kB / 1.436 GB, free: 4.062 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001037/0.9037, allocations: 0.8366 MB / 1.437 GB, free: 3.219 MB / 1.154 GB Notification: Performance of Backend: time 3.91e-07/0.9038, allocations: 0 / 1.437 GB, free: 3.219 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002799/0.9066, allocations: 1.232 MB / 1.438 GB, free: 1.949 MB / 1.154 GB Notification: Performance of SimCode: time 0.004003/0.9106, allocations: 2.793 MB / 1.441 GB, free: 15.1 MB / 1.17 GB Notification: Performance of Templates: time 0.03379/0.9444, allocations: 22 MB / 1.462 GB, free: 9.332 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches