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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00172/0.00172, allocations: 104 kB / 16.35 MB, free: 5.824 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.001693/0.001693, allocations: 190.7 kB / 17.29 MB, free: 5.48 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.448/1.448, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.237/2.237, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002417, allocations: 61.89 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2882, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.7084/0.9966, allocations: 161.6 MB / 1.109 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003608/1, allocations: 1.758 MB / 1.111 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003413/1.001, allocations: 12.91 kB / 1.111 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007082/1.001, allocations: 167.5 kB / 1.111 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001722/1.003, allocations: 0.5149 MB / 1.111 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001365/1.005, allocations: 396 kB / 1.112 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003473/1.008, allocations: 2.538 MB / 1.114 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/1.009, allocations: 0.9238 MB / 1.115 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002127/1.012, allocations: 1.023 MB / 1.116 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/1.013, allocations: 0.7153 MB / 1.117 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001158/1.013, allocations: 54.53 kB / 1.117 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/1.015, allocations: 0.7368 MB / 1.118 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004286/1.015, allocations: 306 kB / 1.118 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008347/1.016, allocations: 0.5464 MB / 1.118 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002108/1.018, allocations: 1.39 MB / 1.12 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.018, allocations: 1.625 kB / 1.12 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.235e-06/1.018, allocations: 0 / 1.12 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.533e-05/1.018, allocations: 0 / 1.12 GB, free: 5.426 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.002848/1.021, allocations: 1.447 MB / 1.121 GB, free: 20.58 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/1.021, allocations: 8.812 kB / 1.121 GB, free: 20.58 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007898/1.022, allocations: 189.7 kB / 1.121 GB, free: 20.52 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/1.023, allocations: 0.8485 MB / 1.122 GB, free: 20.14 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.29e-05/1.023, allocations: 49.05 kB / 1.122 GB, free: 20.14 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.862e-05/1.023, allocations: 62.67 kB / 1.122 GB, free: 20.14 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/1.025, allocations: 0.79 MB / 1.123 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/1.025, allocations: 1.312 kB / 1.123 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.897e-05/1.025, allocations: 23.22 kB / 1.123 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/1.025, allocations: 16.25 kB / 1.123 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/1.026, allocations: 0.533 MB / 1.124 GB, free: 19.9 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.004407/1.03, allocations: 4.602 MB / 1.128 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007479/1.031, allocations: 412.1 kB / 1.128 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004032/1.032, allocations: 250.2 kB / 1.129 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003384/1.032, allocations: 197.3 kB / 1.129 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005098/1.033, allocations: 291.7 kB / 1.129 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 1.794e-06/1.033, allocations: 0 / 1.129 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31): time 0.001378/1.034, allocations: 0.6302 MB / 1.13 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/1.034, allocations: 83.77 kB / 1.13 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/1.035, allocations: 1.114 MB / 1.131 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.515e-05/1.035, allocations: 40.45 kB / 1.131 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000388/1.036, allocations: 495.7 kB / 1.131 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.138e-05/1.036, allocations: 110.2 kB / 1.132 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/1.036, allocations: 109.1 kB / 1.132 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001414/1.036, allocations: 340.2 kB / 1.132 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003843/1.037, allocations: 210.3 kB / 1.132 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005322/1.037, allocations: 0.5165 MB / 1.133 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008418/1.038, allocations: 0.6341 MB / 1.133 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/1.038, allocations: 1.5 kB / 1.133 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001153/1.039, allocations: 0.7131 MB / 1.134 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/1.039, allocations: 34.02 kB / 1.134 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/1.039, allocations: 6.531 kB / 1.134 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/1.039, allocations: 12.12 kB / 1.134 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004304/1.04, allocations: 109.6 kB / 1.134 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/1.04, allocations: 10.84 kB / 1.134 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000696/1.04, allocations: 71.03 kB / 1.134 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.662e-05/1.041, allocations: 25.77 kB / 1.134 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006603/1.041, allocations: 0.4986 MB / 1.135 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004736/1.042, allocations: 493.2 kB / 1.135 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000662/1.042, allocations: 0.566 MB / 1.136 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.996e-06/1.042, allocations: 1.594 kB / 1.136 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009927/1.043, allocations: 0.6356 MB / 1.136 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/1.043, allocations: 36.42 kB / 1.136 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/1.043, allocations: 7.875 kB / 1.136 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/1.043, allocations: 8.031 kB / 1.136 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/1.044, allocations: 108.5 kB / 1.137 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/1.044, allocations: 10.97 kB / 1.137 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006227/1.044, allocations: 71.94 kB / 1.137 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/1.044, allocations: 21.28 kB / 1.137 GB, free: 13.56 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.0001774/1.045, allocations: 219.1 kB / 1.137 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/1.045, allocations: 106.1 kB / 1.137 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008904/1.046, allocations: 495 kB / 1.137 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/1.046, allocations: 4.625 kB / 1.137 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/1.046, allocations: 0 / 1.137 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/1.046, allocations: 4.125 kB / 1.137 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/1.048, allocations: 1.381 MB / 1.139 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.048, allocations: 2.094 kB / 1.139 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/1.048, allocations: 69.17 kB / 1.139 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/1.048, allocations: 11.31 kB / 1.139 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/1.048, allocations: 8.25 kB / 1.139 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/1.048, allocations: 7.031 kB / 1.139 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.048, allocations: 2.156 kB / 1.139 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007785/1.049, allocations: 0.6028 MB / 1.14 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003343/1.049, allocations: 213 kB / 1.14 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/1.049, allocations: 14.94 kB / 1.14 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003736/1.05, allocations: 24.56 kB / 1.14 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.081e-05/1.05, allocations: 29.36 kB / 1.14 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/1.05, allocations: 12.62 kB / 1.14 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001071/1.051, allocations: 0.7889 MB / 1.141 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.81e-07/1.051, allocations: 0 / 1.141 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001299/1.052, allocations: 402.9 kB / 1.141 GB, free: 12.25 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.0004847/1.053, allocations: 183.1 kB / 1.141 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001369/1.054, allocations: 0.8248 MB / 1.142 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.054, allocations: 0.9375 kB / 1.142 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003644/1.055, allocations: 206.8 kB / 1.142 GB, free: 12 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/1.056, allocations: 450.4 kB / 1.143 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/1.059, allocations: 1.732 MB / 1.144 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007471/1.06, allocations: 1.18 MB / 1.145 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000947/1.061, allocations: 406.4 kB / 1.146 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/1.061, allocations: 74.19 kB / 1.146 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of SimCode: time 4.71e-07/1.061, allocations: 4 kB / 1.146 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of Templates: time 0.03196/1.093, allocations: 17.05 MB / 1.163 GB, free: 5.484 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 -s gbode -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