Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 115.5 kB / 16.42 MB, free: 5.988 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.00105/0.00105, allocations: 184.5 kB / 17.35 MB, free: 5.602 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.582/2.582, allocations: 469.4 MB / 0.7428 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.89 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6798/0.681, allocations: 159.1 MB / 1.221 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.1568/0.8378, allocations: 167.8 MB / 1.385 GB, free: 9.973 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.003429/0.8413, allocations: 2.203 MB / 1.387 GB, free: 7.766 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000375/0.8417, allocations: 19.88 kB / 1.387 GB, free: 7.746 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006701/0.8424, allocations: 254.5 kB / 1.387 GB, free: 7.496 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.844, allocations: 0.6923 MB / 1.388 GB, free: 6.801 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.8451, allocations: 445.6 kB / 1.388 GB, free: 6.371 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002717/0.8478, allocations: 2.769 MB / 1.391 GB, free: 3.59 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002786/0.8506, allocations: 2.559 MB / 1.393 GB, free: 1.012 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001996/0.8526, allocations: 1.281 MB / 1.395 GB, free: 15.73 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.8538, allocations: 0.852 MB / 1.396 GB, free: 14.87 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002045/0.854, allocations: 76 kB / 1.396 GB, free: 14.8 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.8554, allocations: 0.8225 MB / 1.396 GB, free: 13.97 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003767/0.8558, allocations: 378.6 kB / 1.397 GB, free: 13.6 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007431/0.8566, allocations: 0.6179 MB / 1.397 GB, free: 12.98 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.8583, allocations: 1.606 MB / 1.399 GB, free: 11.37 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.8583, allocations: 7.938 kB / 1.399 GB, free: 11.36 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8583, allocations: 0 / 1.399 GB, free: 11.36 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.935e-05/0.8583, allocations: 0 / 1.399 GB, free: 11.36 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.002759/0.8611, allocations: 1.611 MB / 1.401 GB, free: 9.691 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.8611, allocations: 16.61 kB / 1.401 GB, free: 9.676 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008761/0.862, allocations: 194.3 kB / 1.401 GB, free: 9.484 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.8636, allocations: 0.9203 MB / 1.402 GB, free: 8.508 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.485e-05/0.8636, allocations: 49.3 kB / 1.402 GB, free: 8.461 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.8638, allocations: 79.86 kB / 1.402 GB, free: 8.383 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.8652, allocations: 0.987 MB / 1.403 GB, free: 7.32 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.8652, allocations: 0 / 1.403 GB, free: 7.32 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-05/0.8653, allocations: 28 kB / 1.403 GB, free: 7.293 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.8653, allocations: 20 kB / 1.403 GB, free: 7.273 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.8666, allocations: 0.7921 MB / 1.404 GB, free: 6.48 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.004193/0.8708, allocations: 4.765 MB / 1.408 GB, free: 1.375 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002239/0.8731, allocations: 4.006 MB / 1.412 GB, free: 12.54 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005015/0.8736, allocations: 353.2 kB / 1.412 GB, free: 12.2 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002816/0.8739, allocations: 194.5 kB / 1.413 GB, free: 11.97 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005204/0.8744, allocations: 333.4 kB / 1.413 GB, free: 11.62 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001627/0.8746, allocations: 35.59 kB / 1.413 GB, free: 11.59 MB / 1.139 GB Notification: Performance of pre-optimization done (n=35): time 1.724e-06/0.8746, allocations: 3.938 kB / 1.413 GB, free: 11.59 MB / 1.139 GB Notification: Performance of matching and sorting (n=35): time 0.00449/0.8791, allocations: 1.477 MB / 1.414 GB, free: 10.08 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.8791, allocations: 89.05 kB / 1.414 GB, free: 9.973 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.8804, allocations: 1.177 MB / 1.416 GB, free: 8.781 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/0.8805, allocations: 37.7 kB / 1.416 GB, free: 8.738 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003909/0.8809, allocations: 0.5122 MB / 1.416 GB, free: 8.219 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 9.073e-05/0.881, allocations: 122.3 kB / 1.416 GB, free: 8.098 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.8812, allocations: 122.1 kB / 1.416 GB, free: 7.973 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 9.166e-05/0.8813, allocations: 330 kB / 1.417 GB, free: 7.645 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004195/0.8817, allocations: 238.9 kB / 1.417 GB, free: 7.406 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006146/0.8823, allocations: 0.5488 MB / 1.417 GB, free: 6.723 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000928/0.8833, allocations: 0.6823 MB / 1.418 GB, free: 5.961 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.8833, allocations: 8 kB / 1.418 GB, free: 5.953 MB / 1.139 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002339/0.8856, allocations: 1.103 MB / 1.419 GB, free: 4.832 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.8857, allocations: 33.7 kB / 1.419 GB, free: 4.793 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.8857, allocations: 12.03 kB / 1.419 GB, free: 4.781 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.8871, allocations: 410.4 kB / 1.42 GB, free: 4.379 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000511/0.8877, allocations: 115.8 kB / 1.42 GB, free: 4.266 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.8892, allocations: 1.655 MB / 1.421 GB, free: 2.562 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007541/0.89, allocations: 64.02 kB / 1.421 GB, free: 2.5 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-05/0.8901, allocations: 24 kB / 1.421 GB, free: 2.477 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006844/0.8908, allocations: 0.5282 MB / 1.422 GB, free: 1.941 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005652/0.8913, allocations: 0.5254 MB / 1.423 GB, free: 1.281 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007805/0.8921, allocations: 0.5954 MB / 1.423 GB, free: 0.6055 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.389e-06/0.8921, allocations: 4 kB / 1.423 GB, free: 0.6016 MB / 1.139 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.00154/0.8937, allocations: 0.8889 MB / 1.424 GB, free: 15.69 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.8937, allocations: 41.81 kB / 1.424 GB, free: 15.64 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.8937, allocations: 4 kB / 1.424 GB, free: 15.64 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004793/0.8942, allocations: 208.7 kB / 1.424 GB, free: 15.43 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.8946, allocations: 95.8 kB / 1.424 GB, free: 15.34 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00352/0.8982, allocations: 3.173 MB / 1.427 GB, free: 12.04 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007893/0.899, allocations: 75.91 kB / 1.427 GB, free: 11.96 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/0.899, allocations: 20 kB / 1.427 GB, free: 11.94 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): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(10,10)} Notification: Performance of prepare postOptimizeDAE: time 0.000174/0.8992, allocations: 228.1 kB / 1.428 GB, free: 11.71 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.8993, allocations: 106.7 kB / 1.428 GB, free: 11.61 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.9007, allocations: 0.7738 MB / 1.429 GB, free: 10.82 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.9007, allocations: 11.92 kB / 1.429 GB, free: 10.8 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.9007, allocations: 3.984 kB / 1.429 GB, free: 10.8 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003379/0.901, allocations: 219.7 kB / 1.429 GB, free: 10.57 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.9012, allocations: 8 kB / 1.429 GB, free: 10.56 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005471/0.9017, allocations: 35.94 kB / 1.429 GB, free: 10.52 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.9019, allocations: 55.92 kB / 1.429 GB, free: 10.47 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001599/0.9035, allocations: 0.8604 MB / 1.43 GB, free: 9.594 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001251/0.9047, allocations: 1.004 MB / 1.431 GB, free: 8.574 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003529/0.9051, allocations: 203.8 kB / 1.431 GB, free: 8.375 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009516/0.9061, allocations: 0.8366 MB / 1.432 GB, free: 7.531 MB / 1.154 GB Notification: Performance of Backend: time 5.31e-07/0.9061, allocations: 0 / 1.432 GB, free: 7.531 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003345/0.9094, allocations: 1.361 MB / 1.433 GB, free: 6.137 MB / 1.154 GB Notification: Performance of SimCode: time 0.003946/0.9134, allocations: 2.902 MB / 1.436 GB, free: 3.191 MB / 1.154 GB Notification: Performance of Templates: time 0.03123/0.9446, allocations: 21.84 MB / 1.457 GB, free: 13.55 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches