Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_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_10_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.000826/0.0008261, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008319/0.0008322, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.684/2.684, allocations: 437.7 MB / 0.7117 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004287, allocations: 8 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.799/0.7995, allocations: 153.8 MB / 1.022 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1721/0.9716, allocations: 146.8 MB / 1.166 GB, free: 12.9 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002875/0.9745, allocations: 1.656 MB / 1.167 GB, free: 11.24 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002638/0.9748, allocations: 7.938 kB / 1.167 GB, free: 11.23 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000468/0.9753, allocations: 115.2 kB / 1.167 GB, free: 11.12 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.9764, allocations: 386.1 kB / 1.168 GB, free: 10.74 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.9775, allocations: 338.7 kB / 1.168 GB, free: 10.42 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003098/0.9806, allocations: 3.003 MB / 1.171 GB, free: 7.398 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002657/0.9833, allocations: 2.149 MB / 1.173 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001974/0.9853, allocations: 0.8676 MB / 1.174 GB, free: 4.371 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.9866, allocations: 0.704 MB / 1.175 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.956e-05/0.9867, allocations: 35.94 kB / 1.175 GB, free: 3.629 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.9882, allocations: 0.5574 MB / 1.175 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000367/0.9886, allocations: 282.9 kB / 1.176 GB, free: 2.793 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003636/0.989, allocations: 229.1 kB / 1.176 GB, free: 2.562 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.9901, allocations: 1.041 MB / 1.177 GB, free: 1.52 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.9901, allocations: 0 / 1.177 GB, free: 1.52 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9902, allocations: 0 / 1.177 GB, free: 1.52 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.9902, allocations: 0 / 1.177 GB, free: 1.52 MB / 0.92 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.002283/0.9925, allocations: 1.327 MB / 1.178 GB, free: 132 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.9925, allocations: 15.97 kB / 1.178 GB, free: 116 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007967/0.9933, allocations: 190.5 kB / 1.178 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.9947, allocations: 0.8 MB / 1.179 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.794e-05/0.9947, allocations: 56.86 kB / 1.179 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-05/0.9948, allocations: 60 kB / 1.179 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.9961, allocations: 0.8254 MB / 1.18 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.9961, allocations: 4 kB / 1.18 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.51e-05/0.9962, allocations: 27.89 kB / 1.18 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.9962, allocations: 16 kB / 1.18 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009817/0.9972, allocations: 0.5696 MB / 1.181 GB, free: 13.44 MB / 0.9356 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.004093/1.001, allocations: 4.243 MB / 1.185 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007699/1.002, allocations: 455.9 kB / 1.185 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004982/1.003, allocations: 342.3 kB / 1.185 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003001/1.003, allocations: 194.2 kB / 1.186 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005441/1.003, allocations: 335 kB / 1.186 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002278/1.004, allocations: 27.69 kB / 1.186 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 2.364e-06/1.004, allocations: 0 / 1.186 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.004751/1.008, allocations: 1.696 MB / 1.188 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/1.009, allocations: 92.98 kB / 1.188 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/1.01, allocations: 1.143 MB / 1.189 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/1.01, allocations: 37.7 kB / 1.189 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004213/1.01, allocations: 492.4 kB / 1.189 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/1.011, allocations: 118.4 kB / 1.189 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/1.011, allocations: 4 kB / 1.189 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.011, allocations: 326 kB / 1.19 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/1.011, allocations: 209 kB / 1.19 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006389/1.012, allocations: 0.5189 MB / 1.191 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004826/1.012, allocations: 314.9 kB / 1.191 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-06/1.012, allocations: 8 kB / 1.191 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002171/1.014, allocations: 1.042 MB / 1.192 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002049/1.015, allocations: 279.2 kB / 1.192 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.015, allocations: 4 kB / 1.192 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/1.016, allocations: 357.2 kB / 1.192 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/1.016, allocations: 95.88 kB / 1.193 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/1.017, allocations: 1.047 MB / 1.194 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008715/1.018, allocations: 87.81 kB / 1.194 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.095e-05/1.018, allocations: 27.98 kB / 1.194 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/1.018, allocations: 8 kB / 1.194 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001431/1.02, allocations: 0.7906 MB / 1.194 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.02, allocations: 4 kB / 1.194 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005807/1.02, allocations: 256.9 kB / 1.195 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/1.021, allocations: 91.86 kB / 1.195 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003692/1.025, allocations: 3.054 MB / 1.198 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008565/1.025, allocations: 83.91 kB / 1.198 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-05/1.025, allocations: 24 kB / 1.198 GB, free: 10.89 MB / 0.9512 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 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0005913/1.026, allocations: 476.7 kB / 1.198 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/1.026, allocations: 102.7 kB / 1.198 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/1.028, allocations: 0.7852 MB / 1.199 GB, free: 9.516 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/1.028, allocations: 4 kB / 1.199 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/1.028, allocations: 0 / 1.199 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/1.028, allocations: 3.984 kB / 1.199 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/1.03, allocations: 1.734 MB / 1.201 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.03, allocations: 0 / 1.201 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/1.03, allocations: 64.16 kB / 1.201 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005097/1.031, allocations: 239.1 kB / 1.201 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/1.031, allocations: 15.98 kB / 1.201 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009098/1.032, allocations: 1.009 MB / 1.202 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/1.032, allocations: 11.97 kB / 1.202 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/1.033, allocations: 0.8935 MB / 1.203 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003086/1.033, allocations: 231.7 kB / 1.203 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/1.034, allocations: 8 kB / 1.203 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005873/1.034, allocations: 67.86 kB / 1.203 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.889e-05/1.034, allocations: 35.91 kB / 1.203 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/1.034, allocations: 16 kB / 1.203 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001009/1.035, allocations: 0.808 MB / 1.204 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.035, allocations: 0 / 1.204 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001276/1.037, allocations: 483.4 kB / 1.205 GB, free: 3.742 MB / 0.9512 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003973/1.037, allocations: 172.1 kB / 1.205 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0021/1.039, allocations: 1.142 MB / 1.206 GB, free: 2.398 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.039, allocations: 0 / 1.206 GB, free: 2.398 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000551/1.04, allocations: 255.2 kB / 1.206 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/1.043, allocations: 0.6342 MB / 1.207 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00366/1.046, allocations: 1.987 MB / 1.209 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009474/1.047, allocations: 1.193 MB / 1.21 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001189/1.048, allocations: 344.1 kB / 1.21 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/1.049, allocations: 59.44 kB / 1.21 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of SimCode: time 6.92e-07/1.049, allocations: 0 / 1.21 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of Templates: time 0.03691/1.086, allocations: 20.72 MB / 1.231 GB, free: 9.375 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches