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.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.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.00104/0.00104, allocations: 89.66 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.008422/0.008422, allocations: 173.2 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.436/1.436, 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.716/2.716, allocations: 462.7 MB / 0.7364 GB, free: 308 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003918, allocations: 10.81 kB / 0.9028 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.305, allocations: 159.6 MB / 1.059 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1651/0.4701, allocations: 157.3 MB / 1.212 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004979/0.4751, allocations: 3.583 MB / 1.216 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003791/0.4755, allocations: 15.88 kB / 1.216 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005491/0.4761, allocations: 131.2 kB / 1.216 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001326/0.4774, allocations: 0.498 MB / 1.216 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.4786, allocations: 388.7 kB / 1.217 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003354/0.482, allocations: 3.489 MB / 1.22 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.4831, allocations: 0.7549 MB / 1.221 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/0.4849, allocations: 0.9102 MB / 1.222 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009083/0.4858, allocations: 0.7077 MB / 1.223 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.076e-05/0.4859, allocations: 32 kB / 1.223 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.4873, allocations: 0.799 MB / 1.223 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002845/0.4876, allocations: 282.9 kB / 1.224 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006135/0.4882, allocations: 0.53 MB / 1.224 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.4899, allocations: 1.37 MB / 1.225 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.4899, allocations: 8 kB / 1.225 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4899, allocations: 0 / 1.225 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.4899, allocations: 0 / 1.225 GB, free: 10.05 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.001997/0.4919, allocations: 1.256 MB / 1.227 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/0.492, allocations: 12.03 kB / 1.227 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008169/0.4928, allocations: 194.4 kB / 1.227 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.494, allocations: 0.7984 MB / 1.228 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.413e-05/0.494, allocations: 41 kB / 1.228 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.395e-05/0.4941, allocations: 60 kB / 1.228 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.4954, allocations: 0.7965 MB / 1.229 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.4954, allocations: 3.938 kB / 1.229 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.546e-05/0.4955, allocations: 24 kB / 1.229 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.4955, allocations: 15.94 kB / 1.229 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009265/0.4964, allocations: 0.5423 MB / 1.229 GB, free: 6.117 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.004299/0.5007, allocations: 4.607 MB / 1.234 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000747/0.5015, allocations: 434.3 kB / 1.234 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003901/0.5019, allocations: 250.6 kB / 1.234 GB, free: 456 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002832/0.5022, allocations: 190.1 kB / 1.234 GB, free: 228 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005281/0.5027, allocations: 301.1 kB / 1.235 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.624e-06/0.5028, allocations: 0 / 1.235 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.005222/0.508, allocations: 1.676 MB / 1.236 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.5081, allocations: 85.11 kB / 1.236 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/0.5096, allocations: 1.118 MB / 1.238 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.712e-05/0.5096, allocations: 37.7 kB / 1.238 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004041/0.51, allocations: 492.1 kB / 1.238 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.5102, allocations: 110.5 kB / 1.238 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.343e-05/0.5102, allocations: 41.69 kB / 1.238 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.5103, allocations: 326 kB / 1.238 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003886/0.5107, allocations: 220.6 kB / 1.239 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006119/0.5114, allocations: 0.5253 MB / 1.239 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00092/0.5123, allocations: 0.6306 MB / 1.24 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.5123, allocations: 4 kB / 1.24 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002338/0.5146, allocations: 1.055 MB / 1.241 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001983/0.5149, allocations: 284.6 kB / 1.241 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.5149, allocations: 4 kB / 1.241 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.5162, allocations: 395.1 kB / 1.242 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.5164, allocations: 55.91 kB / 1.242 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.5178, allocations: 1.1 MB / 1.243 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008506/0.5187, allocations: 95.47 kB / 1.243 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.347e-05/0.5188, allocations: 28 kB / 1.243 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.5188, allocations: 4 kB / 1.243 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001369/0.5202, allocations: 0.724 MB / 1.243 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.5202, allocations: 8 kB / 1.243 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005194/0.5207, allocations: 217.3 kB / 1.244 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.5209, allocations: 67.84 kB / 1.244 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003586/0.5245, allocations: 3.002 MB / 1.247 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008611/0.5254, allocations: 95.55 kB / 1.247 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/0.5255, allocations: 20 kB / 1.247 GB, free: 2.957 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.0006905/0.5261, allocations: 472.6 kB / 1.247 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.5263, allocations: 98.97 kB / 1.247 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.5276, allocations: 0.7142 MB / 1.248 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/0.5277, allocations: 7.938 kB / 1.248 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.5277, allocations: 0 / 1.248 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.5277, allocations: 3.984 kB / 1.248 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6165/1.144, allocations: 1.606 MB / 1.25 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/1.144, allocations: 2.156 kB / 1.25 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/1.144, allocations: 24.14 kB / 1.25 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006474/1.145, allocations: 257.4 kB / 1.25 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.071e-05/1.145, allocations: 12.62 kB / 1.25 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001272/1.146, allocations: 1.035 MB / 1.251 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.146, allocations: 1.875 kB / 1.251 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/1.148, allocations: 0.8455 MB / 1.252 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004128/1.148, allocations: 219.4 kB / 1.252 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-05/1.149, allocations: 8.797 kB / 1.252 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005088/1.149, allocations: 50.38 kB / 1.252 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.149, allocations: 32.77 kB / 1.252 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/1.149, allocations: 10.31 kB / 1.252 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001078/1.15, allocations: 0.796 MB / 1.253 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.81e-07/1.15, allocations: 1.094 kB / 1.253 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001448/1.152, allocations: 440 kB / 1.253 GB, free: 190.7 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.0004316/1.152, allocations: 170.4 kB / 1.253 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002399/1.155, allocations: 1.223 MB / 1.255 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.155, allocations: 3.938 kB / 1.255 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005739/1.155, allocations: 286.5 kB / 1.255 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/1.157, allocations: 456.9 kB / 1.255 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/1.16, allocations: 2.083 MB / 1.257 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006412/1.161, allocations: 1.186 MB / 1.259 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009823/1.162, allocations: 305.2 kB / 1.259 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/1.162, allocations: 66.75 kB / 1.259 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.473e-06/1.162, allocations: 0 / 1.259 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03657/1.198, allocations: 18.41 MB / 1.277 GB, free: 183.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/jenkins/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