Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_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_latest_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.0008297/0.0008297, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005431/0.005431, allocations: 171.4 kB / 16.26 MB, free: 6.676 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.404/1.404, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.828/2.828, allocations: 462.7 MB / 0.7364 GB, free: 316 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.000379, allocations: 11.72 kB / 0.9028 GB, free: 36.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3313, allocations: 159.6 MB / 1.059 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1599/0.4913, allocations: 157.3 MB / 1.212 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005582/0.4969, allocations: 3.593 MB / 1.216 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004358/0.4974, allocations: 11.88 kB / 1.216 GB, free: 4 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000604/0.498, allocations: 139.2 kB / 1.216 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.4997, allocations: 0.5019 MB / 1.216 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.5009, allocations: 377.2 kB / 1.217 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003496/0.5045, allocations: 3.498 MB / 1.22 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.5057, allocations: 0.7465 MB / 1.221 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.5076, allocations: 0.9102 MB / 1.222 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.5087, allocations: 0.7116 MB / 1.223 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.5089, allocations: 32 kB / 1.223 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.5105, allocations: 0.795 MB / 1.223 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003791/0.5109, allocations: 286.9 kB / 1.224 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007554/0.5116, allocations: 0.53 MB / 1.224 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001667/0.5133, allocations: 1.37 MB / 1.225 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5133, allocations: 4 kB / 1.225 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.524e-06/0.5133, allocations: 0 / 1.225 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.098e-05/0.5134, allocations: 3.938 kB / 1.225 GB, free: 10.08 MB / 0.9825 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.002153/0.5155, allocations: 1.253 MB / 1.227 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.5156, allocations: 8.031 kB / 1.227 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008303/0.5164, allocations: 198.4 kB / 1.227 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.5177, allocations: 0.7906 MB / 1.228 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.492e-05/0.5177, allocations: 49 kB / 1.228 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.118e-05/0.5178, allocations: 56 kB / 1.228 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.5191, allocations: 0.8004 MB / 1.229 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.5192, allocations: 7.938 kB / 1.229 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.358e-05/0.5192, allocations: 27.98 kB / 1.229 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.5193, allocations: 15.94 kB / 1.229 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000983/0.5202, allocations: 0.5461 MB / 1.229 GB, free: 6.141 MB / 0.9825 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.004356/0.5246, allocations: 4.595 MB / 1.234 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007358/0.5254, allocations: 438.2 kB / 1.234 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004026/0.5258, allocations: 254.2 kB / 1.234 GB, free: 484 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000292/0.5261, allocations: 190.2 kB / 1.234 GB, free: 256 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005482/0.5266, allocations: 297.1 kB / 1.235 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.745e-06/0.5267, allocations: 0 / 1.235 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.004179/0.5309, allocations: 1.345 MB / 1.236 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.5309, allocations: 81.11 kB / 1.236 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.5324, allocations: 1.118 MB / 1.237 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.978e-05/0.5325, allocations: 37.7 kB / 1.237 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004171/0.5329, allocations: 0.4923 MB / 1.238 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.312e-05/0.533, allocations: 102.5 kB / 1.238 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.768e-05/0.5331, allocations: 41.7 kB / 1.238 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.5332, allocations: 334 kB / 1.238 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003917/0.5336, allocations: 212.7 kB / 1.238 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006149/0.5342, allocations: 0.5252 MB / 1.239 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00094/0.5352, allocations: 0.6384 MB / 1.24 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.5352, allocations: 0 / 1.24 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002473/0.5377, allocations: 1.05 MB / 1.241 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000187/0.5379, allocations: 278.5 kB / 1.241 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.5379, allocations: 8 kB / 1.241 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/0.5393, allocations: 368.3 kB / 1.241 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.5395, allocations: 59.91 kB / 1.241 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/0.5406, allocations: 1.018 MB / 1.242 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008055/0.5415, allocations: 99.53 kB / 1.242 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.916e-05/0.5415, allocations: 31.98 kB / 1.242 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.5416, allocations: 4 kB / 1.242 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001449/0.543, allocations: 0.7239 MB / 1.243 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.543, allocations: 4 kB / 1.243 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005535/0.5436, allocations: 209.2 kB / 1.243 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.5438, allocations: 55.91 kB / 1.243 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003851/0.5477, allocations: 3.094 MB / 1.246 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008645/0.5486, allocations: 91.58 kB / 1.246 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.996e-05/0.5487, allocations: 27.94 kB / 1.246 GB, free: 3.332 MB / 0.9981 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.0007256/0.5494, allocations: 468.7 kB / 1.247 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.5497, allocations: 98.89 kB / 1.247 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.5512, allocations: 0.7179 MB / 1.248 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.5512, allocations: 4 kB / 1.248 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.5512, allocations: 4 kB / 1.248 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.5512, allocations: 3.984 kB / 1.248 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.5539, allocations: 1.613 MB / 1.249 GB, free: 336 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.5539, allocations: 0 / 1.249 GB, free: 336 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.554, allocations: 27.92 kB / 1.249 GB, free: 308 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004834/0.5545, allocations: 226.3 kB / 1.25 GB, free: 80 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.5545, allocations: 20.14 kB / 1.25 GB, free: 60 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5701/1.125, allocations: 0.9731 MB / 1.251 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/1.125, allocations: 3.875 kB / 1.251 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/1.126, allocations: 0.8338 MB / 1.251 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004086/1.127, allocations: 222.7 kB / 1.252 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/1.127, allocations: 12.62 kB / 1.252 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005273/1.127, allocations: 46.55 kB / 1.252 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.069e-05/1.127, allocations: 27.02 kB / 1.252 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/1.127, allocations: 16.95 kB / 1.252 GB, free: 191 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001073/1.129, allocations: 0.7943 MB / 1.252 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.129, allocations: 3.75 kB / 1.252 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001374/1.13, allocations: 440.2 kB / 1.253 GB, free: 190.9 MB / 0.9981 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.0004199/1.13, allocations: 176.9 kB / 1.253 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001808/1.132, allocations: 1.089 MB / 1.254 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/1.132, allocations: 0 / 1.254 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004468/1.133, allocations: 236.9 kB / 1.254 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/1.135, allocations: 452.9 kB / 1.255 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/1.137, allocations: 2.082 MB / 1.257 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/1.138, allocations: 1.186 MB / 1.258 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008876/1.139, allocations: 308.5 kB / 1.258 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/1.139, allocations: 63.11 kB / 1.258 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of SimCode: time 8.51e-07/1.139, allocations: 0 / 1.258 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.03877/1.178, allocations: 18.81 MB / 1.277 GB, free: 184 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches