Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_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_10_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.001648/0.001655, allocations: 108.1 kB / 16.41 MB, free: 6.504 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.001761/0.001762, allocations: 187 kB / 17.34 MB, free: 5.742 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.15 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.377/2.377, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 67.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8439/0.8453, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1795/1.025, allocations: 161.6 MB / 1.325 GB, free: 1.625 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005474/1.03, allocations: 3.62 MB / 1.329 GB, free: 13.99 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000499/1.031, allocations: 15.88 kB / 1.329 GB, free: 13.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006987/1.032, allocations: 170.9 kB / 1.329 GB, free: 13.81 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00166/1.033, allocations: 0.5445 MB / 1.329 GB, free: 13.26 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001397/1.035, allocations: 440.4 kB / 1.33 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002959/1.038, allocations: 2.545 MB / 1.332 GB, free: 10.28 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/1.039, allocations: 0.9372 MB / 1.333 GB, free: 9.336 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002012/1.041, allocations: 1.051 MB / 1.334 GB, free: 8.281 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/1.043, allocations: 0.7078 MB / 1.335 GB, free: 7.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002193/1.043, allocations: 56 kB / 1.335 GB, free: 7.516 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/1.044, allocations: 0.7406 MB / 1.336 GB, free: 6.773 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004849/1.045, allocations: 310.9 kB / 1.336 GB, free: 6.469 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001055/1.046, allocations: 0.5401 MB / 1.337 GB, free: 5.926 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002225/1.048, allocations: 1.4 MB / 1.338 GB, free: 4.523 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.048, allocations: 4 kB / 1.338 GB, free: 4.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.924e-06/1.048, allocations: 0 / 1.338 GB, free: 4.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.974e-05/1.048, allocations: 0 / 1.338 GB, free: 4.52 MB / 1.061 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.003215/1.052, allocations: 1.451 MB / 1.339 GB, free: 3.004 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/1.052, allocations: 8.031 kB / 1.339 GB, free: 2.996 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009958/1.053, allocations: 198.3 kB / 1.34 GB, free: 2.801 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/1.054, allocations: 0.8414 MB / 1.34 GB, free: 1.902 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.44e-05/1.054, allocations: 45 kB / 1.34 GB, free: 1.859 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-05/1.055, allocations: 60 kB / 1.34 GB, free: 1.801 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/1.056, allocations: 0.7926 MB / 1.341 GB, free: 0.9336 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/1.056, allocations: 0 / 1.341 GB, free: 0.9336 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.809e-05/1.056, allocations: 27.98 kB / 1.341 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/1.056, allocations: 12 kB / 1.341 GB, free: 0.8945 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009443/1.057, allocations: 0.5344 MB / 1.342 GB, free: 368 kB / 1.061 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.004799/1.062, allocations: 4.591 MB / 1.346 GB, free: 11.39 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007266/1.062, allocations: 418.3 kB / 1.347 GB, free: 10.97 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003749/1.063, allocations: 248.6 kB / 1.347 GB, free: 10.72 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003122/1.063, allocations: 194.2 kB / 1.347 GB, free: 10.5 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004894/1.064, allocations: 301.8 kB / 1.347 GB, free: 10.18 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 2.705e-06/1.064, allocations: 4 kB / 1.347 GB, free: 10.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=31): time 0.003974/1.068, allocations: 1.305 MB / 1.349 GB, free: 8.844 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/1.068, allocations: 89.05 kB / 1.349 GB, free: 8.738 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/1.069, allocations: 1.122 MB / 1.35 GB, free: 7.598 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.082e-05/1.07, allocations: 33.7 kB / 1.35 GB, free: 7.559 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/1.07, allocations: 488.2 kB / 1.35 GB, free: 7.074 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/1.07, allocations: 106.5 kB / 1.35 GB, free: 6.969 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/1.07, allocations: 117.9 kB / 1.351 GB, free: 6.848 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000106/1.07, allocations: 326 kB / 1.351 GB, free: 6.523 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003888/1.071, allocations: 218.3 kB / 1.351 GB, free: 6.305 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005974/1.071, allocations: 0.5252 MB / 1.352 GB, free: 5.648 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008514/1.072, allocations: 0.6355 MB / 1.352 GB, free: 4.934 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/1.072, allocations: 0 / 1.352 GB, free: 4.934 MB / 1.076 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002532/1.075, allocations: 1.047 MB / 1.353 GB, free: 3.871 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.215e-05/1.075, allocations: 33.7 kB / 1.353 GB, free: 3.832 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/1.075, allocations: 8 kB / 1.353 GB, free: 3.824 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001416/1.076, allocations: 355.2 kB / 1.354 GB, free: 3.477 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/1.077, allocations: 63.84 kB / 1.354 GB, free: 3.414 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/1.078, allocations: 1.014 MB / 1.355 GB, free: 2.375 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007569/1.078, allocations: 75.42 kB / 1.355 GB, free: 2.301 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.348e-05/1.079, allocations: 27.98 kB / 1.355 GB, free: 2.273 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007285/1.079, allocations: 0.4967 MB / 1.355 GB, free: 1.773 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005554/1.08, allocations: 497.9 kB / 1.356 GB, free: 1.152 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007467/1.081, allocations: 0.5489 MB / 1.356 GB, free: 0.5234 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.35e-06/1.081, allocations: 4 kB / 1.356 GB, free: 0.5195 MB / 1.076 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001702/1.082, allocations: 0.8261 MB / 1.357 GB, free: 15.68 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/1.082, allocations: 40.05 kB / 1.357 GB, free: 15.63 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/1.082, allocations: 8 kB / 1.357 GB, free: 15.62 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005173/1.083, allocations: 205.1 kB / 1.357 GB, free: 15.42 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/1.083, allocations: 63.91 kB / 1.357 GB, free: 15.36 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003796/1.087, allocations: 3.341 MB / 1.361 GB, free: 11.86 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007806/1.088, allocations: 64.23 kB / 1.361 GB, free: 11.8 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.755e-05/1.088, allocations: 35.92 kB / 1.361 GB, free: 11.76 MB / 1.092 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.0002368/1.088, allocations: 216.1 kB / 1.361 GB, free: 11.54 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002365/1.088, allocations: 94.78 kB / 1.361 GB, free: 11.45 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/1.09, allocations: 0.714 MB / 1.362 GB, free: 10.72 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/1.09, allocations: 4 kB / 1.362 GB, free: 10.71 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/1.09, allocations: 0 / 1.362 GB, free: 10.71 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/1.09, allocations: 0 / 1.362 GB, free: 10.71 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002704/1.092, allocations: 1.597 MB / 1.363 GB, free: 9.039 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.092, allocations: 4 kB / 1.363 GB, free: 9.035 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/1.093, allocations: 31.91 kB / 1.363 GB, free: 9.004 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004523/1.093, allocations: 232.9 kB / 1.364 GB, free: 8.773 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/1.093, allocations: 8 kB / 1.364 GB, free: 8.766 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008792/1.094, allocations: 0.9725 MB / 1.364 GB, free: 7.77 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.094, allocations: 4.031 kB / 1.364 GB, free: 7.766 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/1.095, allocations: 0.8257 MB / 1.365 GB, free: 6.898 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004358/1.096, allocations: 219.8 kB / 1.365 GB, free: 6.664 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/1.096, allocations: 8 kB / 1.365 GB, free: 6.656 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004593/1.096, allocations: 35.84 kB / 1.366 GB, free: 6.621 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.216e-05/1.096, allocations: 27.91 kB / 1.366 GB, free: 6.594 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/1.096, allocations: 12 kB / 1.366 GB, free: 6.582 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001134/1.098, allocations: 0.7916 MB / 1.366 GB, free: 5.781 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.2e-07/1.098, allocations: 0 / 1.366 GB, free: 5.781 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001421/1.099, allocations: 431.4 kB / 1.367 GB, free: 5.359 MB / 1.092 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.0004953/1.1, allocations: 178.4 kB / 1.367 GB, free: 5.188 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001998/1.102, allocations: 1.075 MB / 1.368 GB, free: 4.078 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/1.102, allocations: 0 / 1.368 GB, free: 4.078 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.000477/1.102, allocations: 221.4 kB / 1.368 GB, free: 3.863 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/1.104, allocations: 463.1 kB / 1.369 GB, free: 3.414 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003126/1.107, allocations: 1.796 MB / 1.37 GB, free: 1.555 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007828/1.108, allocations: 1.184 MB / 1.372 GB, free: 348 kB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/1.108, allocations: 67.36 kB / 1.372 GB, free: 280 kB / 1.092 GB Notification: Performance of SimCode: time 7.01e-07/1.108, allocations: 0 / 1.372 GB, free: 280 kB / 1.092 GB Notification: Performance of Templates: time 0.02825/1.136, allocations: 20.41 MB / 1.392 GB, free: 11.95 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches