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.001294/0.001294, allocations: 104.5 kB / 16.4 MB, free: 6.508 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.001276/0.001276, 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.14 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.368/2.368, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.83 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7721/0.7734, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1634/0.9369, allocations: 161.6 MB / 1.325 GB, free: 1.633 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005184/0.9421, allocations: 3.619 MB / 1.329 GB, free: 14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005109/0.9426, allocations: 15.88 kB / 1.329 GB, free: 13.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006893/0.9433, allocations: 162.9 kB / 1.329 GB, free: 13.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.945, allocations: 0.5524 MB / 1.329 GB, free: 13.27 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.9465, allocations: 440.8 kB / 1.33 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00277/0.9493, allocations: 2.544 MB / 1.332 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.9507, allocations: 0.9372 MB / 1.333 GB, free: 9.344 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/0.9526, allocations: 1.043 MB / 1.334 GB, free: 8.297 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.9538, allocations: 0.7117 MB / 1.335 GB, free: 7.582 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001795/0.954, allocations: 56 kB / 1.335 GB, free: 7.527 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.9555, allocations: 0.7445 MB / 1.336 GB, free: 6.781 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004196/0.9559, allocations: 310.9 kB / 1.336 GB, free: 6.477 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008124/0.9567, allocations: 0.5401 MB / 1.337 GB, free: 5.934 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.9585, allocations: 1.404 MB / 1.338 GB, free: 4.527 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.9586, allocations: 0 / 1.338 GB, free: 4.527 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9586, allocations: 0 / 1.338 GB, free: 4.527 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.511e-05/0.9586, allocations: 0 / 1.338 GB, free: 4.527 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.002631/0.9612, allocations: 1.451 MB / 1.339 GB, free: 3.012 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.9613, allocations: 8.625 kB / 1.339 GB, free: 3.004 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008139/0.9621, allocations: 194.4 kB / 1.339 GB, free: 2.812 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/0.9637, allocations: 0.853 MB / 1.34 GB, free: 1.902 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.9637, allocations: 41 kB / 1.34 GB, free: 1.863 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.985e-05/0.9638, allocations: 63.92 kB / 1.34 GB, free: 1.801 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.965, allocations: 0.7912 MB / 1.341 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.9651, allocations: 7.938 kB / 1.341 GB, free: 0.9297 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.377e-05/0.9651, allocations: 23.98 kB / 1.341 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.9651, allocations: 16 kB / 1.341 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009014/0.9661, allocations: 0.5305 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.004347/0.9704, allocations: 4.587 MB / 1.346 GB, free: 11.39 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007182/0.9711, allocations: 422.8 kB / 1.347 GB, free: 10.97 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003872/0.9715, allocations: 244.7 kB / 1.347 GB, free: 10.73 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002991/0.9719, allocations: 194.2 kB / 1.347 GB, free: 10.5 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004908/0.9724, allocations: 301.9 kB / 1.347 GB, free: 10.19 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 2.514e-06/0.9724, allocations: 0 / 1.347 GB, free: 10.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=31): time 0.004822/0.9772, allocations: 1.633 MB / 1.349 GB, free: 8.523 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.9773, allocations: 89.11 kB / 1.349 GB, free: 8.418 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.9787, allocations: 1.118 MB / 1.35 GB, free: 7.281 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.309e-05/0.9788, allocations: 37.7 kB / 1.35 GB, free: 7.238 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000391/0.9792, allocations: 492.4 kB / 1.351 GB, free: 6.75 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.118e-05/0.9793, allocations: 102.5 kB / 1.351 GB, free: 6.648 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.9795, allocations: 125.8 kB / 1.351 GB, free: 6.52 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.9796, allocations: 322 kB / 1.351 GB, free: 6.199 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/0.98, allocations: 222.3 kB / 1.351 GB, free: 5.977 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005738/0.9805, allocations: 0.5251 MB / 1.352 GB, free: 5.32 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008517/0.9814, allocations: 0.6275 MB / 1.352 GB, free: 4.613 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.9814, allocations: 4 kB / 1.352 GB, free: 4.609 MB / 1.076 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00224/0.9837, allocations: 1.047 MB / 1.354 GB, free: 3.547 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.9837, allocations: 37.8 kB / 1.354 GB, free: 3.504 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.9837, allocations: 8 kB / 1.354 GB, free: 3.496 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.985, allocations: 374.7 kB / 1.354 GB, free: 3.129 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.9853, allocations: 63.91 kB / 1.354 GB, free: 3.066 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.9866, allocations: 1.089 MB / 1.355 GB, free: 1.953 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006595/0.9872, allocations: 71.41 kB / 1.355 GB, free: 1.883 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/0.9873, allocations: 31.92 kB / 1.355 GB, free: 1.852 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006892/0.988, allocations: 0.4928 MB / 1.356 GB, free: 1.355 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005241/0.9885, allocations: 489.9 kB / 1.356 GB, free: 0.7422 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007152/0.9893, allocations: 0.5606 MB / 1.357 GB, free: 104 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.996e-06/0.9893, allocations: 4 kB / 1.357 GB, free: 100 kB / 1.076 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001483/0.9908, allocations: 0.8307 MB / 1.357 GB, free: 15.25 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/0.9908, allocations: 33.7 kB / 1.357 GB, free: 15.21 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.9908, allocations: 4 kB / 1.357 GB, free: 15.21 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000526/0.9914, allocations: 224.7 kB / 1.358 GB, free: 14.98 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.9916, allocations: 59.91 kB / 1.358 GB, free: 14.93 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003579/0.9952, allocations: 3.253 MB / 1.361 GB, free: 11.53 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006997/0.9959, allocations: 71.91 kB / 1.361 GB, free: 11.46 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.996, allocations: 28.06 kB / 1.361 GB, free: 11.43 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 {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001901/0.9961, allocations: 209.3 kB / 1.361 GB, free: 11.22 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.9963, allocations: 102.8 kB / 1.361 GB, free: 11.12 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.9976, allocations: 0.7101 MB / 1.362 GB, free: 10.39 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.9976, allocations: 7.984 kB / 1.362 GB, free: 10.38 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.9976, allocations: 0 / 1.362 GB, free: 10.38 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.9976, allocations: 0 / 1.362 GB, free: 10.38 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002398/1, allocations: 1.591 MB / 1.364 GB, free: 8.711 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/1, allocations: 7.938 kB / 1.364 GB, free: 8.703 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/1, allocations: 19.98 kB / 1.364 GB, free: 8.684 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004879/1.001, allocations: 262.5 kB / 1.364 GB, free: 8.426 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/1.001, allocations: 11.94 kB / 1.364 GB, free: 8.414 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009503/1.002, allocations: 1.022 MB / 1.365 GB, free: 7.367 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.002, allocations: 8.031 kB / 1.365 GB, free: 7.359 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/1.003, allocations: 0.8181 MB / 1.366 GB, free: 6.5 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/1.003, allocations: 227.8 kB / 1.366 GB, free: 6.258 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/1.003, allocations: 12 kB / 1.366 GB, free: 6.246 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004355/1.004, allocations: 23.97 kB / 1.366 GB, free: 6.223 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.691e-05/1.004, allocations: 31.84 kB / 1.366 GB, free: 6.191 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/1.004, allocations: 8 kB / 1.366 GB, free: 6.184 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009849/1.005, allocations: 0.7955 MB / 1.367 GB, free: 5.379 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.7e-07/1.005, allocations: 0 / 1.367 GB, free: 5.379 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001192/1.006, allocations: 435.4 kB / 1.367 GB, free: 4.953 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 {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004099/1.007, allocations: 176.9 kB / 1.367 GB, free: 4.781 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002416/1.009, allocations: 1.208 MB / 1.369 GB, free: 3.535 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.009, allocations: 4 kB / 1.369 GB, free: 3.531 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005686/1.01, allocations: 269.9 kB / 1.369 GB, free: 3.27 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/1.011, allocations: 458 kB / 1.369 GB, free: 2.824 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/1.014, allocations: 1.842 MB / 1.371 GB, free: 0.9297 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007424/1.015, allocations: 1.18 MB / 1.372 GB, free: 15.72 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/1.015, allocations: 67.38 kB / 1.372 GB, free: 15.65 MB / 1.107 GB Notification: Performance of SimCode: time 4.51e-07/1.015, allocations: 0 / 1.372 GB, free: 15.65 MB / 1.107 GB Notification: Performance of Templates: time 0.02569/1.041, allocations: 20.56 MB / 1.392 GB, free: 11.18 MB / 1.123 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=480 -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