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.001058/0.001058, allocations: 91.84 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.008514/0.008514, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.419/1.419, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.731/2.731, allocations: 462.7 MB / 0.7364 GB, free: 260 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.000334, allocations: 8.531 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3356, allocations: 159.6 MB / 1.059 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1843/0.5199, allocations: 157.3 MB / 1.212 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005417/0.5254, allocations: 3.582 MB / 1.216 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004223/0.5259, allocations: 11.88 kB / 1.216 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005789/0.5265, allocations: 143.2 kB / 1.216 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.5279, allocations: 0.4941 MB / 1.216 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.5291, allocations: 393.3 kB / 1.217 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00359/0.5327, allocations: 3.489 MB / 1.22 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.5339, allocations: 0.7626 MB / 1.221 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002007/0.5359, allocations: 0.8986 MB / 1.222 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000981/0.5369, allocations: 0.7155 MB / 1.223 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.912e-05/0.537, allocations: 32 kB / 1.223 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.5386, allocations: 0.8028 MB / 1.223 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002972/0.5389, allocations: 282.9 kB / 1.224 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006335/0.5395, allocations: 0.5301 MB / 1.224 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.541, allocations: 1.366 MB / 1.225 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.5411, allocations: 4 kB / 1.225 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5411, allocations: 3.938 kB / 1.225 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.5411, allocations: 0 / 1.225 GB, free: 10.02 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.002092/0.5432, allocations: 1.268 MB / 1.227 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.5432, allocations: 8.031 kB / 1.227 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007513/0.544, allocations: 182.5 kB / 1.227 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.5451, allocations: 0.7945 MB / 1.228 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.11e-05/0.5452, allocations: 45 kB / 1.228 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.446e-05/0.5453, allocations: 63.98 kB / 1.228 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.5465, allocations: 0.7965 MB / 1.229 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.5466, allocations: 7.938 kB / 1.229 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.07e-05/0.5466, allocations: 20 kB / 1.229 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.5466, allocations: 19.94 kB / 1.229 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009356/0.5476, allocations: 0.5423 MB / 1.229 GB, free: 6.086 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.004291/0.5519, allocations: 4.591 MB / 1.234 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007489/0.5526, allocations: 430.2 kB / 1.234 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004047/0.5531, allocations: 250 kB / 1.234 GB, free: 444 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003176/0.5534, allocations: 202.4 kB / 1.234 GB, free: 204 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005505/0.554, allocations: 301.1 kB / 1.235 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.174e-06/0.554, allocations: 3.938 kB / 1.235 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.005102/0.5591, allocations: 1.673 MB / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/0.5592, allocations: 89.09 kB / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.5607, allocations: 1.114 MB / 1.238 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/0.5607, allocations: 37.7 kB / 1.238 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000427/0.5612, allocations: 496.1 kB / 1.238 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.5613, allocations: 110.5 kB / 1.238 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.459e-05/0.5613, allocations: 41.7 kB / 1.238 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.5615, allocations: 326 kB / 1.238 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004042/0.5619, allocations: 212.7 kB / 1.239 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006431/0.5625, allocations: 0.5291 MB / 1.239 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009229/0.5635, allocations: 0.6384 MB / 1.24 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.5635, allocations: 4 kB / 1.24 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00226/0.5657, allocations: 1.053 MB / 1.241 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001941/0.566, allocations: 279 kB / 1.241 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.566, allocations: 8 kB / 1.241 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.5673, allocations: 381.9 kB / 1.242 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.5675, allocations: 63.91 kB / 1.242 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.5689, allocations: 1.093 MB / 1.243 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008374/0.5697, allocations: 95.47 kB / 1.243 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.304e-05/0.5698, allocations: 27.98 kB / 1.243 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.5698, allocations: 4 kB / 1.243 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001347/0.5712, allocations: 0.7284 MB / 1.243 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.5712, allocations: 4 kB / 1.243 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005233/0.5717, allocations: 217.7 kB / 1.244 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.5719, allocations: 67.94 kB / 1.244 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003651/0.5756, allocations: 2.997 MB / 1.247 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007564/0.5764, allocations: 99.55 kB / 1.247 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.5764, allocations: 24 kB / 1.247 GB, free: 2.934 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.0005559/0.577, allocations: 468.7 kB / 1.247 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.5771, allocations: 98.78 kB / 1.247 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.5784, allocations: 0.7143 MB / 1.248 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.5784, allocations: 7.938 kB / 1.248 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.5784, allocations: 4 kB / 1.248 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.5784, allocations: 4 kB / 1.248 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5468/1.125, allocations: 1.6 MB / 1.25 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/1.125, allocations: 2.906 kB / 1.25 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/1.125, allocations: 24.7 kB / 1.25 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006236/1.126, allocations: 256.6 kB / 1.25 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.628e-05/1.126, allocations: 10.38 kB / 1.25 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/1.127, allocations: 1.031 MB / 1.251 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/1.127, allocations: 6.125 kB / 1.251 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/1.129, allocations: 0.8457 MB / 1.252 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003607/1.129, allocations: 221.3 kB / 1.252 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/1.129, allocations: 8.859 kB / 1.252 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005348/1.13, allocations: 51.02 kB / 1.252 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.572e-05/1.13, allocations: 32.11 kB / 1.252 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/1.13, allocations: 14.94 kB / 1.252 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001024/1.131, allocations: 0.7959 MB / 1.253 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.51e-07/1.131, allocations: 0.9062 kB / 1.253 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00133/1.132, allocations: 435.7 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.0004086/1.133, allocations: 183.1 kB / 1.253 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002235/1.135, allocations: 1.221 MB / 1.255 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.135, allocations: 0 / 1.255 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005634/1.135, allocations: 286.2 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.002266/1.138, allocations: 455.4 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.002434/1.14, allocations: 2.088 MB / 1.257 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006182/1.141, allocations: 1.184 MB / 1.259 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000911/1.142, allocations: 306 kB / 1.259 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/1.142, allocations: 61.97 kB / 1.259 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of SimCode: time 6.02e-07/1.142, allocations: 0 / 1.259 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.0382/1.18, 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