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.001549/0.001549, allocations: 105.8 kB / 16.37 MB, free: 6.453 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.001913/0.001913, allocations: 192.9 kB / 17.31 MB, free: 5.816 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.45/1.45, allocations: 222.9 MB / 241 MB, free: 15.19 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.187/2.187, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 62.28 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.263, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.7584/1.021, allocations: 161.6 MB / 1.109 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003183/1.025, allocations: 1.757 MB / 1.111 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003797/1.025, allocations: 10.78 kB / 1.111 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006349/1.026, allocations: 163.2 kB / 1.111 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001523/1.027, allocations: 0.5201 MB / 1.111 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/1.029, allocations: 397.6 kB / 1.112 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003211/1.032, allocations: 2.531 MB / 1.114 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/1.033, allocations: 0.9409 MB / 1.115 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002372/1.036, allocations: 1.021 MB / 1.116 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009566/1.037, allocations: 0.7103 MB / 1.117 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/1.037, allocations: 55.12 kB / 1.117 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/1.038, allocations: 0.7419 MB / 1.118 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004608/1.039, allocations: 305.5 kB / 1.118 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009673/1.04, allocations: 0.5383 MB / 1.118 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001988/1.042, allocations: 1.399 MB / 1.12 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/1.042, allocations: 0 / 1.12 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/1.042, allocations: 0 / 1.12 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.184e-05/1.042, allocations: 0 / 1.12 GB, free: 5.395 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.002511/1.044, allocations: 1.444 MB / 1.121 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/1.044, allocations: 9.703 kB / 1.121 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007785/1.045, allocations: 188.1 kB / 1.121 GB, free: 20.49 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/1.047, allocations: 0.8486 MB / 1.122 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/1.047, allocations: 46.5 kB / 1.122 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.033e-05/1.047, allocations: 64.56 kB / 1.122 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/1.048, allocations: 0.7842 MB / 1.123 GB, free: 19.88 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/1.048, allocations: 4.25 kB / 1.123 GB, free: 19.88 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.376e-05/1.048, allocations: 27.44 kB / 1.123 GB, free: 19.88 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-05/1.048, allocations: 16.5 kB / 1.123 GB, free: 19.88 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009393/1.049, allocations: 0.5309 MB / 1.124 GB, free: 19.87 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.004082/1.053, allocations: 4.597 MB / 1.128 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006776/1.054, allocations: 419.1 kB / 1.129 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003625/1.054, allocations: 243.4 kB / 1.129 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002961/1.055, allocations: 195.6 kB / 1.129 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004959/1.055, allocations: 299.2 kB / 1.129 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 1.694e-06/1.055, allocations: 0 / 1.129 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31): time 0.00133/1.057, allocations: 0.6268 MB / 1.13 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/1.057, allocations: 80.95 kB / 1.13 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/1.058, allocations: 1.117 MB / 1.131 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.812e-05/1.058, allocations: 40.2 kB / 1.131 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/1.058, allocations: 489.5 kB / 1.132 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.317e-05/1.058, allocations: 111.5 kB / 1.132 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/1.059, allocations: 111.7 kB / 1.132 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.059, allocations: 333.9 kB / 1.132 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/1.059, allocations: 221 kB / 1.132 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000514/1.06, allocations: 0.5158 MB / 1.133 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008022/1.06, allocations: 0.6346 MB / 1.133 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/1.06, allocations: 1.344 kB / 1.133 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00112/1.062, allocations: 0.7163 MB / 1.134 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.437e-05/1.062, allocations: 33.98 kB / 1.134 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/1.062, allocations: 4.5 kB / 1.134 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/1.062, allocations: 9.031 kB / 1.134 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004358/1.062, allocations: 114.9 kB / 1.134 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/1.062, allocations: 10.88 kB / 1.134 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006723/1.063, allocations: 71.72 kB / 1.134 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.528e-05/1.063, allocations: 22.19 kB / 1.134 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006484/1.064, allocations: 0.5005 MB / 1.135 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004449/1.064, allocations: 497 kB / 1.135 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000687/1.065, allocations: 0.5648 MB / 1.136 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.607e-06/1.065, allocations: 1.281 kB / 1.136 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001025/1.066, allocations: 0.6355 MB / 1.136 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/1.066, allocations: 37.92 kB / 1.136 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.066, allocations: 4.875 kB / 1.137 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-06/1.066, allocations: 7.812 kB / 1.137 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/1.066, allocations: 104.5 kB / 1.137 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/1.066, allocations: 14.09 kB / 1.137 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006444/1.067, allocations: 69.23 kB / 1.137 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/1.067, allocations: 21.31 kB / 1.137 GB, free: 13.53 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.0001912/1.067, allocations: 224.9 kB / 1.137 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/1.067, allocations: 98 kB / 1.137 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008799/1.068, allocations: 498.6 kB / 1.137 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/1.068, allocations: 3.906 kB / 1.137 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.068, allocations: 1.219 kB / 1.137 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.068, allocations: 0 / 1.137 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/1.07, allocations: 1.384 MB / 1.139 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.07, allocations: 1.281 kB / 1.139 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/1.07, allocations: 66.75 kB / 1.139 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/1.071, allocations: 7.281 kB / 1.139 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/1.071, allocations: 10.84 kB / 1.139 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/1.071, allocations: 6.531 kB / 1.139 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.071, allocations: 7 kB / 1.139 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007685/1.071, allocations: 0.5966 MB / 1.14 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003367/1.072, allocations: 217 kB / 1.14 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/1.072, allocations: 14.53 kB / 1.14 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/1.072, allocations: 19.83 kB / 1.14 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.362e-05/1.072, allocations: 33.47 kB / 1.14 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-05/1.072, allocations: 19.08 kB / 1.14 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009797/1.073, allocations: 0.789 MB / 1.141 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.073, allocations: 0 / 1.141 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001274/1.075, allocations: 399.9 kB / 1.141 GB, free: 12.22 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.0004495/1.075, allocations: 181.2 kB / 1.141 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001454/1.076, allocations: 0.817 MB / 1.142 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.077, allocations: 2.062 kB / 1.142 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003749/1.077, allocations: 210.5 kB / 1.142 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/1.079, allocations: 453.3 kB / 1.143 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/1.081, allocations: 1.731 MB / 1.144 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000779/1.082, allocations: 1.177 MB / 1.145 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001042/1.083, allocations: 410.5 kB / 1.146 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/1.083, allocations: 74.69 kB / 1.146 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of SimCode: time 5.91e-07/1.083, allocations: 1 kB / 1.146 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of Templates: time 0.02773/1.111, allocations: 17.05 MB / 1.163 GB, free: 5.445 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 cvode -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