Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 108.7 kB / 16.41 MB, free: 6.453 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.001789/0.001789, allocations: 181.7 kB / 17.34 MB, free: 5.742 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.527/2.527, allocations: 469.4 MB / 0.7428 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 67.89 kB / 1.066 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.683/0.6843, allocations: 159.1 MB / 1.221 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1525/0.8369, allocations: 161.6 MB / 1.379 GB, free: 256 kB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.002818/0.8398, allocations: 1.763 MB / 1.38 GB, free: 14.48 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002869/0.8401, allocations: 11.88 kB / 1.38 GB, free: 14.47 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005282/0.8406, allocations: 167 kB / 1.381 GB, free: 14.31 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.8419, allocations: 0.5484 MB / 1.381 GB, free: 13.76 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.8429, allocations: 397.6 kB / 1.382 GB, free: 13.38 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002463/0.8454, allocations: 2.559 MB / 1.384 GB, free: 10.8 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002607/0.848, allocations: 2.411 MB / 1.386 GB, free: 8.375 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001586/0.8496, allocations: 1.047 MB / 1.387 GB, free: 7.324 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009579/0.8506, allocations: 0.7117 MB / 1.388 GB, free: 6.609 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.8508, allocations: 64 kB / 1.388 GB, free: 6.547 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.8521, allocations: 0.7484 MB / 1.389 GB, free: 5.797 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003506/0.8525, allocations: 314.9 kB / 1.389 GB, free: 5.488 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001134/0.8536, allocations: 0.5402 MB / 1.39 GB, free: 4.945 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00239/0.856, allocations: 1.421 MB / 1.391 GB, free: 3.52 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8561, allocations: 0 / 1.391 GB, free: 3.52 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8561, allocations: 0 / 1.391 GB, free: 3.52 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.63e-05/0.8561, allocations: 4 kB / 1.391 GB, free: 3.516 MB / 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.002627/0.8587, allocations: 1.447 MB / 1.393 GB, free: 2.008 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.8588, allocations: 8.031 kB / 1.393 GB, free: 2 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008856/0.8597, allocations: 190.5 kB / 1.393 GB, free: 1.812 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.8612, allocations: 0.8606 MB / 1.394 GB, free: 0.8945 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.021e-05/0.8612, allocations: 45 kB / 1.394 GB, free: 0.8516 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.143e-05/0.8613, allocations: 60 kB / 1.394 GB, free: 0.793 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.8625, allocations: 0.8161 MB / 1.394 GB, free: 15.9 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.8625, allocations: 3.938 kB / 1.394 GB, free: 15.89 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.643e-05/0.8626, allocations: 27.98 kB / 1.394 GB, free: 15.87 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.8626, allocations: 12 kB / 1.394 GB, free: 15.86 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009659/0.8636, allocations: 0.5657 MB / 1.395 GB, free: 15.29 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.003721/0.8673, allocations: 4.212 MB / 1.399 GB, free: 10.81 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007235/0.8681, allocations: 440.2 kB / 1.4 GB, free: 10.38 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004725/0.8686, allocations: 341.1 kB / 1.4 GB, free: 10.04 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/0.8688, allocations: 202.2 kB / 1.4 GB, free: 9.805 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000505/0.8694, allocations: 323 kB / 1.4 GB, free: 9.469 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001736/0.8695, allocations: 43.53 kB / 1.4 GB, free: 9.426 MB / 1.123 GB Notification: Performance of pre-optimization done (n=33): time 3.387e-06/0.8696, allocations: 3.984 kB / 1.4 GB, free: 9.422 MB / 1.123 GB Notification: Performance of matching and sorting (n=33): time 0.005024/0.8746, allocations: 1.66 MB / 1.402 GB, free: 7.73 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.8746, allocations: 85.05 kB / 1.402 GB, free: 7.629 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.876, allocations: 1.151 MB / 1.403 GB, free: 6.461 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/0.8761, allocations: 41.7 kB / 1.403 GB, free: 6.414 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003798/0.8765, allocations: 496.4 kB / 1.404 GB, free: 5.922 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 9.551e-05/0.8766, allocations: 110.4 kB / 1.404 GB, free: 5.812 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.8767, allocations: 114.1 kB / 1.404 GB, free: 5.695 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.8769, allocations: 326 kB / 1.404 GB, free: 5.371 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004237/0.8773, allocations: 234.9 kB / 1.405 GB, free: 5.141 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006196/0.8779, allocations: 0.5423 MB / 1.405 GB, free: 4.465 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009453/0.8789, allocations: 0.6783 MB / 1.406 GB, free: 3.707 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.8789, allocations: 4.109 kB / 1.406 GB, free: 3.703 MB / 1.123 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00227/0.8812, allocations: 1.107 MB / 1.407 GB, free: 2.578 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.8812, allocations: 33.7 kB / 1.407 GB, free: 2.539 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.8812, allocations: 8 kB / 1.407 GB, free: 2.531 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.8826, allocations: 369 kB / 1.407 GB, free: 2.168 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/0.883, allocations: 87.86 kB / 1.407 GB, free: 2.082 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.884, allocations: 1.035 MB / 1.408 GB, free: 1.023 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007684/0.8848, allocations: 67.98 kB / 1.408 GB, free: 0.957 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-05/0.8848, allocations: 24 kB / 1.408 GB, free: 0.9336 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006938/0.8855, allocations: 0.5164 MB / 1.409 GB, free: 424 kB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005547/0.8861, allocations: 0.5107 MB / 1.409 GB, free: 15.77 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008022/0.8869, allocations: 0.6035 MB / 1.41 GB, free: 15.09 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.595e-06/0.8869, allocations: 0 / 1.41 GB, free: 15.09 MB / 1.139 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001544/0.8885, allocations: 0.9005 MB / 1.411 GB, free: 14.17 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.8885, allocations: 33.7 kB / 1.411 GB, free: 14.13 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.8885, allocations: 4 kB / 1.411 GB, free: 14.12 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005686/0.8891, allocations: 245.2 kB / 1.411 GB, free: 13.88 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.8895, allocations: 87.86 kB / 1.411 GB, free: 13.8 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/0.8931, allocations: 3.271 MB / 1.414 GB, free: 10.39 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007749/0.8939, allocations: 68.31 kB / 1.414 GB, free: 10.33 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/0.894, allocations: 24 kB / 1.414 GB, free: 10.3 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_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 (35): * Single equations (assignments): 33 * 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,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0001712/0.8941, allocations: 216.1 kB / 1.415 GB, free: 10.09 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.8943, allocations: 106.6 kB / 1.415 GB, free: 9.98 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.8957, allocations: 0.7695 MB / 1.416 GB, free: 9.199 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.8957, allocations: 3.984 kB / 1.416 GB, free: 9.195 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.8957, allocations: 0 / 1.416 GB, free: 9.195 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000359/0.8961, allocations: 231.8 kB / 1.416 GB, free: 8.949 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.8962, allocations: 8 kB / 1.416 GB, free: 8.941 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005362/0.8967, allocations: 31.95 kB / 1.416 GB, free: 8.91 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.8969, allocations: 43.92 kB / 1.416 GB, free: 8.867 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001631/0.8985, allocations: 0.8555 MB / 1.417 GB, free: 8 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001289/0.8998, allocations: 0.9888 MB / 1.418 GB, free: 6.996 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003563/0.9002, allocations: 200.3 kB / 1.418 GB, free: 6.801 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009854/0.9012, allocations: 0.8197 MB / 1.419 GB, free: 5.973 MB / 1.139 GB Notification: Performance of Backend: time 2.31e-07/0.9012, allocations: 0 / 1.419 GB, free: 5.973 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002739/0.9039, allocations: 1.223 MB / 1.42 GB, free: 4.727 MB / 1.139 GB Notification: Performance of SimCode: time 0.003906/0.9078, allocations: 2.688 MB / 1.422 GB, free: 1.988 MB / 1.139 GB Notification: Performance of Templates: time 0.03304/0.9409, allocations: 21.78 MB / 1.444 GB, free: 12.41 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches