Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001655/0.001655, allocations: 110.8 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.001891/0.001891, allocations: 183.9 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.345/1.345, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.417/2.417, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 63.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6547/0.6564, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.159/0.8155, allocations: 167.8 MB / 1.331 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004325/0.8198, allocations: 2.206 MB / 1.333 GB, free: 9.234 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005205/0.8204, allocations: 15.94 kB / 1.333 GB, free: 9.219 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000801/0.8212, allocations: 250.5 kB / 1.334 GB, free: 8.973 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.8229, allocations: 0.6962 MB / 1.334 GB, free: 8.273 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.8241, allocations: 438.2 kB / 1.335 GB, free: 7.848 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002853/0.827, allocations: 2.764 MB / 1.337 GB, free: 5.074 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002844/0.8299, allocations: 2.575 MB / 1.34 GB, free: 2.484 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002208/0.8321, allocations: 1.269 MB / 1.341 GB, free: 1.211 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.8333, allocations: 0.8636 MB / 1.342 GB, free: 352 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002129/0.8335, allocations: 76 kB / 1.342 GB, free: 276 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.8351, allocations: 0.8264 MB / 1.343 GB, free: 15.44 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003897/0.8355, allocations: 362.7 kB / 1.343 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0008074/0.8363, allocations: 0.6179 MB / 1.344 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.8381, allocations: 1.618 MB / 1.345 GB, free: 12.84 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.8381, allocations: 0 / 1.345 GB, free: 12.84 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.132e-06/0.8381, allocations: 0 / 1.345 GB, free: 12.84 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.653e-05/0.8382, allocations: 0 / 1.345 GB, free: 12.84 MB / 1.076 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.002788/0.841, allocations: 1.617 MB / 1.347 GB, free: 11.17 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.841, allocations: 12.03 kB / 1.347 GB, free: 11.16 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008671/0.8419, allocations: 194.4 kB / 1.347 GB, free: 10.96 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/0.8435, allocations: 0.9318 MB / 1.348 GB, free: 9.977 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.218e-05/0.8435, allocations: 53.25 kB / 1.348 GB, free: 9.926 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.8436, allocations: 67.94 kB / 1.348 GB, free: 9.859 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.8451, allocations: 0.9837 MB / 1.349 GB, free: 8.801 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.8451, allocations: 11.94 kB / 1.349 GB, free: 8.789 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.268e-05/0.8452, allocations: 20 kB / 1.349 GB, free: 8.77 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.8452, allocations: 16 kB / 1.349 GB, free: 8.754 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.8465, allocations: 0.7921 MB / 1.35 GB, free: 7.961 MB / 1.076 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.004385/0.8509, allocations: 4.765 MB / 1.355 GB, free: 2.844 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002351/0.8533, allocations: 4.017 MB / 1.359 GB, free: 14 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004981/0.8538, allocations: 349.2 kB / 1.359 GB, free: 13.66 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00028/0.8541, allocations: 194.5 kB / 1.359 GB, free: 13.43 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005236/0.8546, allocations: 334.7 kB / 1.359 GB, free: 13.09 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001882/0.8548, allocations: 31.69 kB / 1.359 GB, free: 13.05 MB / 1.092 GB Notification: Performance of pre-optimization done (n=35): time 3.627e-06/0.8548, allocations: 0 / 1.359 GB, free: 13.05 MB / 1.092 GB Notification: Performance of matching and sorting (n=35): time 0.004656/0.8595, allocations: 1.583 MB / 1.361 GB, free: 11.44 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.8595, allocations: 81.11 kB / 1.361 GB, free: 11.34 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.8609, allocations: 1.184 MB / 1.362 GB, free: 10.14 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.8609, allocations: 33.7 kB / 1.362 GB, free: 10.11 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004193/0.8614, allocations: 0.5238 MB / 1.363 GB, free: 9.574 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 9.677e-05/0.8615, allocations: 118.3 kB / 1.363 GB, free: 9.457 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.8617, allocations: 118.1 kB / 1.363 GB, free: 9.336 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.474e-05/0.8618, allocations: 326 kB / 1.363 GB, free: 9.012 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004163/0.8622, allocations: 234.9 kB / 1.363 GB, free: 8.777 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006282/0.8628, allocations: 0.5605 MB / 1.364 GB, free: 8.082 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000938/0.8638, allocations: 0.6908 MB / 1.365 GB, free: 7.312 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.8638, allocations: 0 / 1.365 GB, free: 7.312 MB / 1.092 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002282/0.8661, allocations: 1.095 MB / 1.366 GB, free: 6.199 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.232e-05/0.8661, allocations: 36.2 kB / 1.366 GB, free: 6.16 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.8661, allocations: 11.98 kB / 1.366 GB, free: 6.148 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.8674, allocations: 348.9 kB / 1.366 GB, free: 5.805 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/0.8678, allocations: 95.8 kB / 1.366 GB, free: 5.711 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009657/0.8688, allocations: 1.005 MB / 1.367 GB, free: 4.68 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000822/0.8696, allocations: 63.86 kB / 1.367 GB, free: 4.617 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.234e-05/0.8697, allocations: 28 kB / 1.367 GB, free: 4.59 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007135/0.8704, allocations: 0.5282 MB / 1.368 GB, free: 4.059 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005652/0.871, allocations: 0.5215 MB / 1.368 GB, free: 3.398 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000796/0.8718, allocations: 0.607 MB / 1.369 GB, free: 2.711 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.909e-06/0.8718, allocations: 4 kB / 1.369 GB, free: 2.707 MB / 1.092 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001566/0.8734, allocations: 0.8925 MB / 1.37 GB, free: 1.797 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.8734, allocations: 33.7 kB / 1.37 GB, free: 1.758 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.8735, allocations: 11.98 kB / 1.37 GB, free: 1.746 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005195/0.874, allocations: 227 kB / 1.37 GB, free: 1.523 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.8744, allocations: 95.8 kB / 1.37 GB, free: 1.43 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003517/0.8779, allocations: 3.156 MB / 1.373 GB, free: 14.14 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008296/0.8787, allocations: 71.97 kB / 1.373 GB, free: 14.07 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.481e-05/0.8788, allocations: 24 kB / 1.373 GB, free: 14.05 MB / 1.107 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.0001772/0.879, allocations: 220.1 kB / 1.374 GB, free: 13.82 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.8791, allocations: 102.7 kB / 1.374 GB, free: 13.72 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.8805, allocations: 0.7851 MB / 1.374 GB, free: 12.92 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.8805, allocations: 7.984 kB / 1.374 GB, free: 12.91 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.8805, allocations: 0 / 1.374 GB, free: 12.91 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003683/0.8809, allocations: 219.8 kB / 1.375 GB, free: 12.68 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.8811, allocations: 11.94 kB / 1.375 GB, free: 12.67 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006102/0.8817, allocations: 39.94 kB / 1.375 GB, free: 12.63 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.8818, allocations: 47.92 kB / 1.375 GB, free: 12.58 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001546/0.8834, allocations: 0.8459 MB / 1.376 GB, free: 11.73 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001255/0.8846, allocations: 1.004 MB / 1.377 GB, free: 10.71 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003443/0.885, allocations: 199.8 kB / 1.377 GB, free: 10.51 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001021/0.886, allocations: 0.8404 MB / 1.378 GB, free: 9.664 MB / 1.107 GB Notification: Performance of Backend: time 4.21e-07/0.886, allocations: 0 / 1.378 GB, free: 9.664 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002771/0.8888, allocations: 1.224 MB / 1.379 GB, free: 8.402 MB / 1.107 GB Notification: Performance of SimCode: time 0.004184/0.893, allocations: 2.762 MB / 1.381 GB, free: 5.59 MB / 1.107 GB Notification: Performance of Templates: time 0.03372/0.9267, allocations: 22 MB / 1.403 GB, free: 15.81 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches