Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001477/0.001477, allocations: 102.8 kB / 16.35 MB, free: 5.879 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.001526/0.001526, allocations: 195.6 kB / 17.3 MB, free: 5.52 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.452/2.452, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 70.3 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3063, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.6511/0.9574, allocations: 161.6 MB / 1.185 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003233/0.9607, allocations: 1.757 MB / 1.186 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003644/0.9611, allocations: 11.41 kB / 1.186 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000592/0.9617, allocations: 160.3 kB / 1.186 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.9632, allocations: 0.5236 MB / 1.187 GB, free: 224 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.9644, allocations: 401.8 kB / 1.187 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00292/0.9674, allocations: 2.525 MB / 1.19 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.9687, allocations: 0.9338 MB / 1.191 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001801/0.9705, allocations: 1.022 MB / 1.192 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009094/0.9714, allocations: 0.7128 MB / 1.192 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.9715, allocations: 56.38 kB / 1.192 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.973, allocations: 0.7417 MB / 1.193 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000344/0.9734, allocations: 304.6 kB / 1.193 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006834/0.9741, allocations: 0.537 MB / 1.194 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.9758, allocations: 1.4 MB / 1.195 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.9758, allocations: 4 kB / 1.195 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.427e-06/0.9759, allocations: 0 / 1.195 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.37e-05/0.9759, allocations: 2.5 kB / 1.195 GB, free: 11.3 MB / 0.9044 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.002428/0.9783, allocations: 1.44 MB / 1.197 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.9784, allocations: 11.28 kB / 1.197 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007679/0.9791, allocations: 191.6 kB / 1.197 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.9806, allocations: 0.85 MB / 1.198 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.976e-05/0.9806, allocations: 42.75 kB / 1.198 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-05/0.9807, allocations: 66.12 kB / 1.198 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.9818, allocations: 0.7923 MB / 1.199 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.9819, allocations: 2.719 kB / 1.199 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.038e-05/0.9819, allocations: 23.75 kB / 1.199 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.982, allocations: 17.06 kB / 1.199 GB, free: 8.844 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008501/0.9828, allocations: 0.5339 MB / 1.199 GB, free: 8.582 MB / 0.9044 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.003967/0.9868, allocations: 4.594 MB / 1.204 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006766/0.9875, allocations: 411.7 kB / 1.204 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003569/0.9878, allocations: 243.1 kB / 1.204 GB, free: 3.949 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002915/0.9882, allocations: 199.4 kB / 1.205 GB, free: 3.742 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004639/0.9886, allocations: 291.8 kB / 1.205 GB, free: 3.551 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 1.773e-06/0.9886, allocations: 0 / 1.205 GB, free: 3.551 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31): time 0.001326/0.99, allocations: 0.6391 MB / 1.205 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.99, allocations: 82.45 kB / 1.206 GB, free: 3.137 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.9913, allocations: 1.109 MB / 1.207 GB, free: 2.547 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.766e-05/0.9913, allocations: 34.89 kB / 1.207 GB, free: 2.512 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003737/0.9917, allocations: 498.4 kB / 1.207 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.095e-05/0.9918, allocations: 109.4 kB / 1.207 GB, free: 1.996 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.992, allocations: 106.8 kB / 1.207 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.9921, allocations: 334.9 kB / 1.208 GB, free: 1.609 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003527/0.9924, allocations: 214 kB / 1.208 GB, free: 1.504 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/0.993, allocations: 0.5124 MB / 1.208 GB, free: 1.012 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008131/0.9938, allocations: 0.6416 MB / 1.209 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.9939, allocations: 0 / 1.209 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001118/0.995, allocations: 0.7209 MB / 1.21 GB, free: 144 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.995, allocations: 34.11 kB / 1.21 GB, free: 112 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.995, allocations: 8.969 kB / 1.21 GB, free: 108 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.9951, allocations: 11.62 kB / 1.21 GB, free: 104 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.9955, allocations: 111.9 kB / 1.21 GB, free: 72 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.9955, allocations: 11.91 kB / 1.21 GB, free: 68 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006197/0.9961, allocations: 72.98 kB / 1.21 GB, free: 24 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.051e-05/0.9962, allocations: 24.5 kB / 1.21 GB, free: 20 kB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006589/0.9969, allocations: 0.4998 MB / 1.21 GB, free: 15.73 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004886/0.9974, allocations: 492.8 kB / 1.211 GB, free: 15.25 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007049/0.9981, allocations: 0.5615 MB / 1.211 GB, free: 14.81 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.846e-06/0.9981, allocations: 0 / 1.211 GB, free: 14.81 MB / 0.92 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009527/0.9991, allocations: 0.6388 MB / 1.212 GB, free: 14.46 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.9991, allocations: 39.92 kB / 1.212 GB, free: 14.43 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.9991, allocations: 4.938 kB / 1.212 GB, free: 14.43 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.9991, allocations: 12.06 kB / 1.212 GB, free: 14.43 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.9995, allocations: 110.2 kB / 1.212 GB, free: 14.35 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.9995, allocations: 15.92 kB / 1.212 GB, free: 14.33 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005929/1, allocations: 60.03 kB / 1.212 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/1, allocations: 24 kB / 1.212 GB, free: 14.25 MB / 0.92 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.000196/1, allocations: 223.9 kB / 1.213 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/1.001, allocations: 106.8 kB / 1.213 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008946/1.001, allocations: 493.2 kB / 1.213 GB, free: 13.43 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/1.001, allocations: 4 kB / 1.213 GB, free: 13.43 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/1.001, allocations: 4 kB / 1.213 GB, free: 13.42 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/1.001, allocations: 3.984 kB / 1.213 GB, free: 13.42 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/1.004, allocations: 1.385 MB / 1.214 GB, free: 11.96 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/1.004, allocations: 192 / 1.214 GB, free: 11.96 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/1.004, allocations: 63.89 kB / 1.215 GB, free: 11.89 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/1.004, allocations: 12.16 kB / 1.215 GB, free: 11.88 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/1.004, allocations: 15.97 kB / 1.215 GB, free: 11.87 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/1.004, allocations: 0 / 1.215 GB, free: 11.87 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.004, allocations: 4 kB / 1.215 GB, free: 11.86 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008129/1.005, allocations: 0.5983 MB / 1.215 GB, free: 11.23 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/1.005, allocations: 215.8 kB / 1.215 GB, free: 11 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/1.005, allocations: 11.94 kB / 1.215 GB, free: 10.98 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/1.006, allocations: 19.97 kB / 1.215 GB, free: 10.96 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.131e-05/1.006, allocations: 35.83 kB / 1.215 GB, free: 10.93 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/1.006, allocations: 19.92 kB / 1.215 GB, free: 10.91 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009597/1.007, allocations: 0.7875 MB / 1.216 GB, free: 10.11 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.71e-07/1.007, allocations: 0 / 1.216 GB, free: 10.11 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001078/1.008, allocations: 407.4 kB / 1.217 GB, free: 9.715 MB / 0.92 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.0003874/1.008, allocations: 175.5 kB / 1.217 GB, free: 9.543 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001364/1.009, allocations: 0.8167 MB / 1.218 GB, free: 8.703 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/1.009, allocations: 0 / 1.218 GB, free: 8.703 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003596/1.01, allocations: 206.2 kB / 1.218 GB, free: 8.504 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/1.012, allocations: 456.2 kB / 1.218 GB, free: 8.059 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/1.014, allocations: 1.728 MB / 1.22 GB, free: 6.273 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006566/1.015, allocations: 1.176 MB / 1.221 GB, free: 5.066 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0008919/1.016, allocations: 407.7 kB / 1.221 GB, free: 4.664 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/1.016, allocations: 75.42 kB / 1.221 GB, free: 4.59 MB / 0.92 GB Notification: Performance of SimCode: time 7.51e-07/1.016, allocations: 4 kB / 1.221 GB, free: 4.586 MB / 0.92 GB Notification: Performance of Templates: time 0.02767/1.044, allocations: 17.05 MB / 1.238 GB, free: 3.73 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches