Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009597/0.0009594, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.333/1.333, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.635/2.635, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003631, allocations: 10.19 kB / 0.9034 GB, free: 36.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3055, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1635/0.469, allocations: 157.3 MB / 1.213 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004866/0.4739, allocations: 3.587 MB / 1.216 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000436/0.4744, allocations: 15.88 kB / 1.216 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006088/0.475, allocations: 135.2 kB / 1.217 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001537/0.4766, allocations: 0.4941 MB / 1.217 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.4779, allocations: 405.7 kB / 1.217 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00352/0.4814, allocations: 3.475 MB / 1.221 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.4827, allocations: 0.7543 MB / 1.222 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002163/0.4848, allocations: 0.9102 MB / 1.222 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.4861, allocations: 0.7116 MB / 1.223 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.4863, allocations: 32 kB / 1.223 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.488, allocations: 0.799 MB / 1.224 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004255/0.4884, allocations: 282.9 kB / 1.224 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009318/0.4894, allocations: 0.53 MB / 1.225 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.4907, allocations: 1.005 MB / 1.226 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4907, allocations: 0 / 1.226 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4907, allocations: 0 / 1.226 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.505e-05/0.4908, allocations: 0 / 1.226 GB, free: 9.898 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.002561/0.4934, allocations: 1.272 MB / 1.227 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.4934, allocations: 8.031 kB / 1.227 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008145/0.4942, allocations: 194.5 kB / 1.227 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.4955, allocations: 0.8062 MB / 1.228 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/0.4955, allocations: 45 kB / 1.228 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.106e-05/0.4956, allocations: 56 kB / 1.228 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.4969, allocations: 0.8004 MB / 1.229 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.4969, allocations: 3.938 kB / 1.229 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.508e-05/0.4969, allocations: 24 kB / 1.229 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.497, allocations: 15.94 kB / 1.229 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009094/0.4979, allocations: 0.5423 MB / 1.229 GB, free: 5.938 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.004145/0.502, allocations: 4.603 MB / 1.234 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007178/0.5028, allocations: 431.2 kB / 1.234 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003809/0.5032, allocations: 252.7 kB / 1.235 GB, free: 276 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002819/0.5035, allocations: 190.2 kB / 1.235 GB, free: 48 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005326/0.504, allocations: 297.6 kB / 1.235 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/0.504, allocations: 0 / 1.235 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.005122/0.5091, allocations: 1.681 MB / 1.237 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.5092, allocations: 81.11 kB / 1.237 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.5108, allocations: 1.118 MB / 1.238 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.852e-05/0.5108, allocations: 41.64 kB / 1.238 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/0.5113, allocations: 496.1 kB / 1.238 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.5114, allocations: 106.5 kB / 1.238 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.5114, allocations: 45.69 kB / 1.238 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.5116, allocations: 330 kB / 1.239 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003809/0.5119, allocations: 212.7 kB / 1.239 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000627/0.5126, allocations: 0.5252 MB / 1.24 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008907/0.5135, allocations: 0.6384 MB / 1.24 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.5135, allocations: 0 / 1.24 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002184/0.5157, allocations: 1.051 MB / 1.241 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001843/0.5159, allocations: 274.8 kB / 1.241 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.5159, allocations: 8 kB / 1.241 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.5172, allocations: 394.7 kB / 1.242 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.5174, allocations: 63.91 kB / 1.242 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.5189, allocations: 1.094 MB / 1.243 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.52, allocations: 95.47 kB / 1.243 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.46e-05/0.5201, allocations: 27.98 kB / 1.243 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.5201, allocations: 5.719 kB / 1.243 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001385/0.5215, allocations: 0.728 MB / 1.244 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.5215, allocations: 11.94 kB / 1.244 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005535/0.5221, allocations: 215.4 kB / 1.244 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.5223, allocations: 67.84 kB / 1.244 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003479/0.5258, allocations: 2.997 MB / 1.247 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007727/0.5265, allocations: 99.48 kB / 1.247 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.992e-05/0.5266, allocations: 23.98 kB / 1.247 GB, free: 2.773 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 {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005532/0.5272, allocations: 468.7 kB / 1.248 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.5273, allocations: 98.78 kB / 1.248 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.5286, allocations: 0.7064 MB / 1.248 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.5286, allocations: 7.938 kB / 1.248 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.5286, allocations: 0 / 1.248 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.5286, allocations: 4.172 kB / 1.248 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5731/1.102, allocations: 1.606 MB / 1.25 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/1.102, allocations: 2.312 kB / 1.25 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/1.102, allocations: 23.31 kB / 1.25 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005833/1.103, allocations: 253.4 kB / 1.25 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/1.103, allocations: 12.42 kB / 1.25 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/1.104, allocations: 1.03 MB / 1.251 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/1.104, allocations: 8.375 kB / 1.251 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/1.105, allocations: 0.8366 MB / 1.252 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003876/1.106, allocations: 220.4 kB / 1.252 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.767e-05/1.106, allocations: 8.547 kB / 1.252 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004934/1.106, allocations: 53.41 kB / 1.252 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/1.106, allocations: 33.08 kB / 1.252 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/1.106, allocations: 10.02 kB / 1.252 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001065/1.107, allocations: 0.7954 MB / 1.253 GB, free: 190 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.107, allocations: 0 / 1.253 GB, free: 190 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00136/1.109, allocations: 443.9 kB / 1.254 GB, free: 190 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 {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004255/1.109, allocations: 183.7 kB / 1.254 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002227/1.111, allocations: 1.22 MB / 1.255 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.111, allocations: 0 / 1.255 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005597/1.112, allocations: 277.9 kB / 1.255 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/1.114, allocations: 451.7 kB / 1.256 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/1.117, allocations: 2.147 MB / 1.258 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/1.117, allocations: 1.177 MB / 1.259 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/1.118, allocations: 63.02 kB / 1.259 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of SimCode: time 7.52e-07/1.118, allocations: 0 / 1.259 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.03728/1.155, allocations: 20.37 MB / 1.279 GB, free: 181.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches