Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008251/0.000825, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0009414/0.0009415, allocations: 168.7 kB / 15.95 MB, free: 204 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.377/1.377, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.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.469/2.469, allocations: 390.9 MB / 0.666 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003497, allocations: 12 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6806/0.681, allocations: 142.4 MB / 0.9544 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1598/0.8408, allocations: 146.7 MB / 1.098 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004691/0.8456, allocations: 3.363 MB / 1.101 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003823/0.846, allocations: 11.88 kB / 1.101 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005076/0.8465, allocations: 119.2 kB / 1.101 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.8478, allocations: 390.1 kB / 1.102 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.8489, allocations: 371.7 kB / 1.102 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00333/0.8522, allocations: 2.993 MB / 1.105 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.8535, allocations: 0.7031 MB / 1.105 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.8553, allocations: 0.8676 MB / 1.106 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.8564, allocations: 0.7079 MB / 1.107 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.8566, allocations: 36 kB / 1.107 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.858, allocations: 0.5535 MB / 1.108 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003465/0.8583, allocations: 278.9 kB / 1.108 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003897/0.8587, allocations: 237.1 kB / 1.108 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.86, allocations: 1.021 MB / 1.109 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.86, allocations: 4 kB / 1.109 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.784e-06/0.86, allocations: 0 / 1.109 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.14e-05/0.8601, allocations: 0 / 1.109 GB, free: 0.6797 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002266/0.8623, allocations: 1.307 MB / 1.11 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.8624, allocations: 8.031 kB / 1.11 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008278/0.8632, allocations: 186.4 kB / 1.111 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.8646, allocations: 0.7963 MB / 1.111 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/0.8647, allocations: 45 kB / 1.111 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.894e-05/0.8648, allocations: 60 kB / 1.111 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.866, allocations: 0.7979 MB / 1.112 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.866, allocations: 0 / 1.112 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.309e-05/0.8661, allocations: 20 kB / 1.112 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.8661, allocations: 12 kB / 1.112 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008934/0.867, allocations: 0.55 MB / 1.113 GB, free: 12.71 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.00405/0.8711, allocations: 4.599 MB / 1.117 GB, free: 7.73 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007051/0.8718, allocations: 434.2 kB / 1.118 GB, free: 7.297 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003756/0.8722, allocations: 248.6 kB / 1.118 GB, free: 7.051 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002849/0.8725, allocations: 202.2 kB / 1.118 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004892/0.873, allocations: 301.5 kB / 1.118 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 3.216e-06/0.873, allocations: 0 / 1.118 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31): time 0.00384/0.8768, allocations: 1.344 MB / 1.12 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.8769, allocations: 81.11 kB / 1.12 GB, free: 5.035 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.8784, allocations: 1.114 MB / 1.121 GB, free: 3.902 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.247e-05/0.8784, allocations: 33.7 kB / 1.121 GB, free: 3.863 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004081/0.8788, allocations: 0.5 MB / 1.121 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.521e-05/0.8789, allocations: 106.5 kB / 1.122 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.879, allocations: 8 kB / 1.122 GB, free: 3.242 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.8791, allocations: 330 kB / 1.122 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.8794, allocations: 188.7 kB / 1.122 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005544/0.88, allocations: 0.5018 MB / 1.123 GB, free: 2.094 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004268/0.8804, allocations: 294.4 kB / 1.123 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.8804, allocations: 0 / 1.123 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002189/0.8826, allocations: 0.9843 MB / 1.124 GB, free: 0.8008 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.000195/0.8828, allocations: 270.9 kB / 1.124 GB, free: 464 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.8829, allocations: 8 kB / 1.124 GB, free: 456 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/0.8841, allocations: 346 kB / 1.124 GB, free: 108 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.8844, allocations: 63.91 kB / 1.124 GB, free: 44 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.8854, allocations: 1.005 MB / 1.125 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007674/0.8862, allocations: 111.4 kB / 1.125 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.845e-05/0.8863, allocations: 28.28 kB / 1.126 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/0.8863, allocations: 6.031 kB / 1.126 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001349/0.8877, allocations: 0.7239 MB / 1.126 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.8877, allocations: 8 kB / 1.126 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005202/0.8882, allocations: 215 kB / 1.126 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.8884, allocations: 71.8 kB / 1.127 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003766/0.8922, allocations: 3.11 MB / 1.13 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007178/0.8929, allocations: 95.67 kB / 1.13 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.893, allocations: 23.95 kB / 1.13 GB, free: 10.47 MB / 0.8887 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.00054/0.8936, allocations: 468.7 kB / 1.13 GB, free: 10 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.8937, allocations: 102.7 kB / 1.13 GB, free: 9.898 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.895, allocations: 0.7103 MB / 1.131 GB, free: 9.172 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.895, allocations: 7.953 kB / 1.131 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.895, allocations: 0 / 1.131 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.8951, allocations: 3.938 kB / 1.131 GB, free: 9.16 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002496/0.8976, allocations: 1.631 MB / 1.133 GB, free: 7.449 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.8976, allocations: 3.938 kB / 1.133 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.8977, allocations: 23.98 kB / 1.133 GB, free: 7.422 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000445/0.8982, allocations: 220.9 kB / 1.133 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.8982, allocations: 15.94 kB / 1.133 GB, free: 7.188 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000871/0.8991, allocations: 0.9751 MB / 1.134 GB, free: 6.188 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.8991, allocations: 4.031 kB / 1.134 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.9003, allocations: 0.8369 MB / 1.135 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003463/0.9007, allocations: 223.8 kB / 1.135 GB, free: 5.066 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.9008, allocations: 8 kB / 1.135 GB, free: 5.059 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005107/0.9013, allocations: 59.78 kB / 1.135 GB, free: 5 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.348e-05/0.9014, allocations: 27.92 kB / 1.135 GB, free: 4.973 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.9014, allocations: 15.98 kB / 1.135 GB, free: 4.957 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001012/0.9025, allocations: 0.7838 MB / 1.136 GB, free: 4.164 MB / 0.8887 GB Notification: Performance of sort global known variables: time 5.61e-07/0.9025, allocations: 0 / 1.136 GB, free: 4.164 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001263/0.9037, allocations: 451.4 kB / 1.136 GB, free: 3.723 MB / 0.8887 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 (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004199/0.9042, allocations: 196.1 kB / 1.136 GB, free: 3.531 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001898/0.9061, allocations: 1.057 MB / 1.137 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.9061, allocations: 0 / 1.137 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004928/0.9066, allocations: 238.8 kB / 1.137 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/0.9086, allocations: 451.7 kB / 1.138 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/0.9116, allocations: 1.98 MB / 1.14 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007804/0.9124, allocations: 1.185 MB / 1.141 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009885/0.9134, allocations: 319.6 kB / 1.141 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.9136, allocations: 59.44 kB / 1.141 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of SimCode: time 9.62e-07/0.9136, allocations: 3.938 kB / 1.141 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of Templates: time 0.0314/0.945, allocations: 18.36 MB / 1.159 GB, free: 11.99 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches