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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001459/0.001459, allocations: 109.6 kB / 16.41 MB, free: 6.492 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.00147/0.00147, allocations: 187 kB / 17.34 MB, free: 5.766 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.204/2.204, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 63.91 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8768/0.8783, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1975/1.076, allocations: 161.6 MB / 1.246 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004914/1.081, allocations: 3.626 MB / 1.25 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003339/1.081, allocations: 7.938 kB / 1.25 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005819/1.082, allocations: 166.9 kB / 1.25 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001428/1.083, allocations: 0.5562 MB / 1.251 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001208/1.085, allocations: 437.2 kB / 1.251 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002501/1.087, allocations: 2.543 MB / 1.254 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/1.088, allocations: 0.9411 MB / 1.255 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/1.09, allocations: 1.047 MB / 1.256 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007881/1.091, allocations: 0.7039 MB / 1.256 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.555e-05/1.091, allocations: 60 kB / 1.256 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/1.092, allocations: 0.7445 MB / 1.257 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002785/1.092, allocations: 306.9 kB / 1.257 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005241/1.093, allocations: 0.5479 MB / 1.258 GB, free: 436 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001404/1.094, allocations: 1.4 MB / 1.259 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/1.094, allocations: 3.938 kB / 1.259 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.423e-06/1.094, allocations: 0 / 1.259 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.198e-05/1.094, allocations: 0 / 1.259 GB, free: 15.02 MB / 0.9981 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.002084/1.096, allocations: 1.447 MB / 1.261 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/1.096, allocations: 8.031 kB / 1.261 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007147/1.097, allocations: 186.5 kB / 1.261 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/1.098, allocations: 0.8491 MB / 1.262 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/1.098, allocations: 52.98 kB / 1.262 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.888e-05/1.098, allocations: 56 kB / 1.262 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/1.099, allocations: 0.7926 MB / 1.263 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/1.1, allocations: 4 kB / 1.263 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.04e-05/1.1, allocations: 20 kB / 1.263 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/1.1, allocations: 16 kB / 1.263 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008521/1.1, allocations: 0.5344 MB / 1.263 GB, free: 10.86 MB / 0.9981 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.003623/1.104, allocations: 4.595 MB / 1.268 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006649/1.105, allocations: 426.7 kB / 1.268 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/1.105, allocations: 243.8 kB / 1.268 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002691/1.105, allocations: 190.2 kB / 1.268 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004606/1.106, allocations: 297.6 kB / 1.269 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 1.963e-06/1.106, allocations: 3.938 kB / 1.269 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.003594/1.109, allocations: 1.314 MB / 1.27 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/1.11, allocations: 85.11 kB / 1.27 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/1.111, allocations: 1.114 MB / 1.271 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.31e-05/1.111, allocations: 37.7 kB / 1.271 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/1.111, allocations: 496.1 kB / 1.272 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.57e-05/1.111, allocations: 106.5 kB / 1.272 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/1.112, allocations: 113.9 kB / 1.272 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001037/1.112, allocations: 330 kB / 1.272 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003578/1.112, allocations: 214.4 kB / 1.272 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005834/1.113, allocations: 0.5135 MB / 1.273 GB, free: 164 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008111/1.113, allocations: 0.6227 MB / 1.273 GB, free: 15.46 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/1.113, allocations: 4 kB / 1.273 GB, free: 15.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002109/1.116, allocations: 1.042 MB / 1.274 GB, free: 14.39 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/1.116, allocations: 36.2 kB / 1.275 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/1.116, allocations: 4 kB / 1.275 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/1.117, allocations: 363 kB / 1.275 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/1.117, allocations: 63.84 kB / 1.275 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009605/1.118, allocations: 1.009 MB / 1.276 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006246/1.119, allocations: 83.33 kB / 1.276 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.599e-05/1.119, allocations: 24 kB / 1.276 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006575/1.119, allocations: 0.4969 MB / 1.277 GB, free: 12.29 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005103/1.12, allocations: 497.9 kB / 1.277 GB, free: 11.68 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007065/1.121, allocations: 0.5647 MB / 1.278 GB, free: 11.03 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.325e-06/1.121, allocations: 0 / 1.278 GB, free: 11.03 MB / 1.014 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.00142/1.122, allocations: 0.8263 MB / 1.278 GB, free: 10.19 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/1.122, allocations: 37.69 kB / 1.278 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/1.122, allocations: 4 kB / 1.278 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004743/1.123, allocations: 212.9 kB / 1.279 GB, free: 9.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/1.123, allocations: 55.91 kB / 1.279 GB, free: 9.875 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003569/1.126, allocations: 3.344 MB / 1.282 GB, free: 6.367 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006487/1.127, allocations: 67.97 kB / 1.282 GB, free: 6.301 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/1.127, allocations: 20.06 kB / 1.282 GB, free: 6.281 MB / 1.014 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002032/1.127, allocations: 228 kB / 1.282 GB, free: 6.051 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/1.128, allocations: 98.78 kB / 1.282 GB, free: 5.953 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/1.129, allocations: 0.71 MB / 1.283 GB, free: 5.234 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/1.129, allocations: 4 kB / 1.283 GB, free: 5.23 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/1.129, allocations: 0 / 1.283 GB, free: 5.23 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.129, allocations: 0 / 1.283 GB, free: 5.23 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/1.131, allocations: 1.601 MB / 1.285 GB, free: 3.551 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/1.131, allocations: 0 / 1.285 GB, free: 3.551 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/1.131, allocations: 19.98 kB / 1.285 GB, free: 3.531 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000453/1.132, allocations: 240.6 kB / 1.285 GB, free: 3.293 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/1.132, allocations: 8 kB / 1.285 GB, free: 3.285 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000822/1.132, allocations: 0.9786 MB / 1.286 GB, free: 2.285 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.132, allocations: 3.938 kB / 1.286 GB, free: 2.281 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/1.134, allocations: 0.8252 MB / 1.287 GB, free: 1.414 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000284/1.134, allocations: 219.8 kB / 1.287 GB, free: 1.18 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.534e-05/1.134, allocations: 8 kB / 1.287 GB, free: 1.172 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/1.134, allocations: 35.89 kB / 1.287 GB, free: 1.137 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.477e-05/1.134, allocations: 27.91 kB / 1.287 GB, free: 1.109 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/1.134, allocations: 16 kB / 1.287 GB, free: 1.094 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009167/1.135, allocations: 0.7916 MB / 1.288 GB, free: 300 kB / 1.014 GB Notification: Performance of sort global known variables: time 1.41e-07/1.135, allocations: 0 / 1.288 GB, free: 300 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.001402/1.137, allocations: 431.5 kB / 1.288 GB, free: 15.87 MB / 1.029 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005442/1.137, allocations: 183.6 kB / 1.288 GB, free: 15.69 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002745/1.14, allocations: 1.062 MB / 1.289 GB, free: 14.6 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.14, allocations: 4.062 kB / 1.289 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000704/1.141, allocations: 226.5 kB / 1.289 GB, free: 14.37 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003036/1.144, allocations: 463.9 kB / 1.29 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/1.148, allocations: 1.797 MB / 1.292 GB, free: 12.06 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/1.149, allocations: 1.184 MB / 1.293 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/1.149, allocations: 67.42 kB / 1.293 GB, free: 10.78 MB / 1.029 GB Notification: Performance of SimCode: time 1.052e-06/1.149, allocations: 0 / 1.293 GB, free: 10.78 MB / 1.029 GB Notification: Performance of Templates: time 0.0393/1.189, allocations: 20.43 MB / 1.313 GB, free: 6.441 MB / 1.045 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/jenkins1/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