Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_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_9_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.001198/0.001198, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001251/0.001251, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.336/1.336, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.193/2.193, allocations: 390.2 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001321, allocations: 70.56 kB / 0.8132 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2998, allocations: 140.4 MB / 0.9503 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.7909/1.091, allocations: 161.6 MB / 1.108 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003214/1.094, allocations: 1.756 MB / 1.11 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003849/1.094, allocations: 11.56 kB / 1.11 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006094/1.095, allocations: 163.2 kB / 1.11 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00146/1.097, allocations: 0.5191 MB / 1.11 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001236/1.098, allocations: 393.7 kB / 1.111 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003126/1.101, allocations: 2.527 MB / 1.113 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/1.102, allocations: 0.9302 MB / 1.114 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002247/1.105, allocations: 1.021 MB / 1.115 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/1.106, allocations: 0.7016 MB / 1.116 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001384/1.106, allocations: 55.38 kB / 1.116 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002525/1.108, allocations: 0.7415 MB / 1.117 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006382/1.109, allocations: 304.5 kB / 1.117 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001171/1.11, allocations: 0.5436 MB / 1.118 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002817/1.113, allocations: 1.379 MB / 1.119 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.113, allocations: 0 / 1.119 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.076e-06/1.113, allocations: 5.344 kB / 1.119 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.622e-05/1.113, allocations: 0 / 1.119 GB, free: 4.801 MB / 0.8575 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.004563/1.118, allocations: 1.448 MB / 1.12 GB, free: 19.96 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/1.118, allocations: 9.406 kB / 1.12 GB, free: 19.96 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/1.119, allocations: 188.8 kB / 1.12 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/1.121, allocations: 0.7973 MB / 1.121 GB, free: 19.53 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.535e-05/1.121, allocations: 46.25 kB / 1.121 GB, free: 19.53 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/1.121, allocations: 58.91 kB / 1.121 GB, free: 19.53 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/1.123, allocations: 0.7939 MB / 1.122 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/1.123, allocations: 6.078 kB / 1.122 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.727e-05/1.123, allocations: 19.91 kB / 1.122 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/1.123, allocations: 13.34 kB / 1.122 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/1.124, allocations: 0.5376 MB / 1.123 GB, free: 19.28 MB / 0.8731 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.00515/1.129, allocations: 4.613 MB / 1.127 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007987/1.13, allocations: 414.6 kB / 1.128 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003919/1.131, allocations: 249.3 kB / 1.128 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003368/1.131, allocations: 191.7 kB / 1.128 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005482/1.132, allocations: 299.4 kB / 1.128 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 2.855e-06/1.132, allocations: 0 / 1.128 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31): time 0.001617/1.133, allocations: 0.6266 MB / 1.129 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.604e-05/1.133, allocations: 81.84 kB / 1.129 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/1.135, allocations: 1.123 MB / 1.13 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.425e-05/1.135, allocations: 34.11 kB / 1.13 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003717/1.135, allocations: 492.7 kB / 1.131 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.636e-05/1.135, allocations: 110 kB / 1.131 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/1.136, allocations: 112.8 kB / 1.131 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.136, allocations: 329.2 kB / 1.131 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/1.136, allocations: 219.7 kB / 1.131 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000539/1.137, allocations: 0.5143 MB / 1.132 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008391/1.138, allocations: 0.641 MB / 1.132 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/1.138, allocations: 1.344 kB / 1.132 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001276/1.139, allocations: 0.7145 MB / 1.133 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/1.139, allocations: 36.55 kB / 1.133 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/1.139, allocations: 5.188 kB / 1.133 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/1.139, allocations: 9.312 kB / 1.133 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/1.139, allocations: 113.8 kB / 1.133 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/1.139, allocations: 10.78 kB / 1.133 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007791/1.14, allocations: 74.84 kB / 1.133 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.766e-05/1.14, allocations: 30.11 kB / 1.133 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008345/1.141, allocations: 0.5027 MB / 1.134 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004655/1.142, allocations: 491.5 kB / 1.134 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006876/1.142, allocations: 0.555 MB / 1.135 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.877e-06/1.142, allocations: 3.938 kB / 1.135 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001075/1.143, allocations: 0.6372 MB / 1.136 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/1.143, allocations: 34.08 kB / 1.136 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/1.143, allocations: 6.891 kB / 1.136 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/1.143, allocations: 7.469 kB / 1.136 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/1.144, allocations: 104 kB / 1.136 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/1.144, allocations: 8.75 kB / 1.136 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007161/1.145, allocations: 71.42 kB / 1.136 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/1.145, allocations: 22.41 kB / 1.136 GB, free: 12.93 MB / 0.8731 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.0002208/1.145, allocations: 223.3 kB / 1.136 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/1.145, allocations: 98.06 kB / 1.136 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009655/1.146, allocations: 0.4883 MB / 1.137 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/1.146, allocations: 6.844 kB / 1.137 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/1.146, allocations: 5.672 kB / 1.137 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.146, allocations: 1 kB / 1.137 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/1.148, allocations: 1.386 MB / 1.138 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.148, allocations: 5.062 kB / 1.138 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/1.148, allocations: 67.19 kB / 1.138 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/1.148, allocations: 3.656 kB / 1.138 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/1.148, allocations: 8.625 kB / 1.138 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/1.148, allocations: 13.08 kB / 1.138 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.148, allocations: 1.25 kB / 1.138 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008905/1.149, allocations: 0.5942 MB / 1.139 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00031/1.15, allocations: 217.4 kB / 1.139 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/1.15, allocations: 10.53 kB / 1.139 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/1.15, allocations: 20.78 kB / 1.139 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/1.15, allocations: 36.06 kB / 1.139 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/1.15, allocations: 11.67 kB / 1.139 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001028/1.151, allocations: 0.7912 MB / 1.14 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4e-07/1.151, allocations: 1.094 kB / 1.14 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001397/1.153, allocations: 399.2 kB / 1.14 GB, free: 11.62 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005456/1.153, allocations: 174.5 kB / 1.14 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001518/1.155, allocations: 0.8595 MB / 1.141 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/1.155, allocations: 6.656 kB / 1.141 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003345/1.155, allocations: 197.4 kB / 1.141 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/1.157, allocations: 467.4 kB / 1.142 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/1.16, allocations: 1.803 MB / 1.143 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007588/1.161, allocations: 1.178 MB / 1.145 GB, free: 9.855 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/1.161, allocations: 80.27 kB / 1.145 GB, free: 9.848 MB / 0.8731 GB Notification: Performance of SimCode: time 5.61e-07/1.161, allocations: 1.094 kB / 1.145 GB, free: 9.848 MB / 0.8731 GB Notification: Performance of Templates: time 0.027/1.188, allocations: 15.84 MB / 1.16 GB, free: 5.34 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches