Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_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_10_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.001584/0.001584, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.00155/0.00155, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.41/1.41, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.516/2.516, allocations: 437.1 MB / 0.7111 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 72.64 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3048, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.7152/1.02, allocations: 161.6 MB / 1.176 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005591/1.026, allocations: 3.635 MB / 1.179 GB, free: 9.602 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003891/1.026, allocations: 14.84 kB / 1.179 GB, free: 9.594 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000631/1.027, allocations: 160.1 kB / 1.18 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001492/1.028, allocations: 0.5248 MB / 1.18 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/1.03, allocations: 435.3 kB / 1.18 GB, free: 8.762 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00292/1.033, allocations: 2.535 MB / 1.183 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/1.034, allocations: 0.9214 MB / 1.184 GB, free: 6.863 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001978/1.036, allocations: 1.035 MB / 1.185 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/1.037, allocations: 0.709 MB / 1.186 GB, free: 5.922 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000135/1.037, allocations: 58.41 kB / 1.186 GB, free: 5.918 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/1.039, allocations: 0.7359 MB / 1.186 GB, free: 5.527 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003503/1.039, allocations: 311.7 kB / 1.187 GB, free: 5.316 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006819/1.04, allocations: 0.5382 MB / 1.187 GB, free: 4.992 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001606/1.041, allocations: 1.389 MB / 1.188 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.041, allocations: 0 / 1.188 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.292e-06/1.041, allocations: 1.312 kB / 1.188 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.219e-05/1.041, allocations: 0 / 1.188 GB, free: 4.156 MB / 0.8887 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.002339/1.044, allocations: 1.448 MB / 1.19 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/1.044, allocations: 10.83 kB / 1.19 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007901/1.045, allocations: 194.9 kB / 1.19 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/1.046, allocations: 0.8021 MB / 1.191 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.244e-05/1.046, allocations: 42.81 kB / 1.191 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-05/1.046, allocations: 60.62 kB / 1.191 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/1.047, allocations: 0.7865 MB / 1.192 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/1.047, allocations: 6.938 kB / 1.192 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.339e-05/1.047, allocations: 20.84 kB / 1.192 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/1.047, allocations: 12.62 kB / 1.192 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008592/1.048, allocations: 0.5417 MB / 1.192 GB, free: 1.465 MB / 0.8887 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.004495/1.053, allocations: 4.603 MB / 1.197 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007142/1.053, allocations: 419 kB / 1.197 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/1.054, allocations: 246.5 kB / 1.197 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003266/1.054, allocations: 199.4 kB / 1.198 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005093/1.055, allocations: 292.5 kB / 1.198 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 1.964e-06/1.055, allocations: 0 / 1.198 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31): time 0.004888/1.06, allocations: 1.649 MB / 1.2 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.871e-05/1.06, allocations: 89.81 kB / 1.2 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/1.061, allocations: 1.118 MB / 1.201 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.023e-05/1.061, allocations: 32.42 kB / 1.201 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004413/1.062, allocations: 494.6 kB / 1.201 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/1.062, allocations: 111.4 kB / 1.201 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/1.062, allocations: 111.3 kB / 1.201 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.062, allocations: 326.8 kB / 1.202 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/1.062, allocations: 210.2 kB / 1.202 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006326/1.063, allocations: 0.5204 MB / 1.202 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008875/1.064, allocations: 0.6227 MB / 1.203 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/1.064, allocations: 6.5 kB / 1.203 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002224/1.066, allocations: 1.046 MB / 1.204 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.873e-05/1.066, allocations: 37.69 kB / 1.204 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/1.066, allocations: 5.531 kB / 1.204 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/1.068, allocations: 394.8 kB / 1.204 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/1.068, allocations: 57.09 kB / 1.205 GB, free: 8.016 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/1.069, allocations: 1.076 MB / 1.206 GB, free: 7.211 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007114/1.07, allocations: 81.64 kB / 1.206 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/1.07, allocations: 21.53 kB / 1.206 GB, free: 7.156 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007166/1.071, allocations: 0.4945 MB / 1.206 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005842/1.071, allocations: 498.7 kB / 1.207 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007833/1.072, allocations: 0.5549 MB / 1.207 GB, free: 5.953 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.747e-06/1.072, allocations: 2.438 kB / 1.207 GB, free: 5.953 MB / 0.9044 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001539/1.074, allocations: 0.8402 MB / 1.208 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/1.074, allocations: 33.33 kB / 1.208 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.074, allocations: 9.438 kB / 1.208 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005264/1.074, allocations: 225 kB / 1.208 GB, free: 5.352 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/1.074, allocations: 65.47 kB / 1.208 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004065/1.079, allocations: 3.266 MB / 1.212 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008316/1.079, allocations: 67.97 kB / 1.212 GB, free: 1.922 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/1.079, allocations: 20 kB / 1.212 GB, free: 1.902 MB / 0.9044 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.0002489/1.08, allocations: 221 kB / 1.212 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/1.08, allocations: 98.78 kB / 1.212 GB, free: 1.582 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/1.081, allocations: 0.7103 MB / 1.213 GB, free: 0.8594 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/1.081, allocations: 4 kB / 1.213 GB, free: 0.8555 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/1.081, allocations: 0 / 1.213 GB, free: 0.8555 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/1.081, allocations: 3.984 kB / 1.213 GB, free: 0.8516 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002588/1.084, allocations: 1.609 MB / 1.214 GB, free: 15.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.084, allocations: 0 / 1.214 GB, free: 15.16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/1.084, allocations: 20.08 kB / 1.214 GB, free: 15.14 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005182/1.085, allocations: 250.9 kB / 1.214 GB, free: 14.9 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/1.085, allocations: 15.92 kB / 1.214 GB, free: 14.88 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/1.086, allocations: 1.031 MB / 1.215 GB, free: 13.83 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/1.086, allocations: 0 / 1.215 GB, free: 13.83 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/1.087, allocations: 0.8337 MB / 1.216 GB, free: 12.95 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003763/1.088, allocations: 215.8 kB / 1.216 GB, free: 12.72 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/1.088, allocations: 8 kB / 1.216 GB, free: 12.71 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/1.088, allocations: 23.97 kB / 1.217 GB, free: 12.69 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.598e-05/1.088, allocations: 27.91 kB / 1.217 GB, free: 12.66 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/1.088, allocations: 19.98 kB / 1.217 GB, free: 12.64 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001122/1.089, allocations: 0.7916 MB / 1.217 GB, free: 11.84 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.864e-06/1.089, allocations: 0 / 1.217 GB, free: 11.84 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001292/1.091, allocations: 435.5 kB / 1.218 GB, free: 11.42 MB / 0.92 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.0004289/1.091, allocations: 179.4 kB / 1.218 GB, free: 11.24 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002656/1.094, allocations: 1.214 MB / 1.219 GB, free: 9.992 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.094, allocations: 0 / 1.219 GB, free: 9.992 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006176/1.094, allocations: 276.2 kB / 1.219 GB, free: 9.723 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/1.097, allocations: 464.7 kB / 1.22 GB, free: 9.273 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/1.1, allocations: 1.838 MB / 1.222 GB, free: 7.379 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008522/1.101, allocations: 1.184 MB / 1.223 GB, free: 6.164 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/1.101, allocations: 67.42 kB / 1.223 GB, free: 6.098 MB / 0.92 GB Notification: Performance of SimCode: time 7.71e-07/1.101, allocations: 0 / 1.223 GB, free: 6.098 MB / 0.92 GB Notification: Performance of Templates: time 0.02965/1.13, allocations: 20.46 MB / 1.243 GB, free: 1.727 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches