Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 104.9 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.00147/0.00147, 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.361/1.361, 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 12.0.0-master/package.mo): time 2.701/2.701, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 68.31 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8067/0.8087, allocations: 162.2 MB / 1.083 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.204/1.013, allocations: 161.6 MB / 1.241 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003518/1.016, allocations: 1.759 MB / 1.242 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000361/1.017, allocations: 11.94 kB / 1.242 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005884/1.017, allocations: 166.9 kB / 1.243 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001381/1.019, allocations: 0.525 MB / 1.243 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001139/1.02, allocations: 389.6 kB / 1.244 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00281/1.023, allocations: 2.496 MB / 1.246 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/1.024, allocations: 0.9294 MB / 1.247 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00231/1.026, allocations: 1.16 MB / 1.248 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000941/1.027, allocations: 0.6883 MB / 1.249 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/1.028, allocations: 56 kB / 1.249 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/1.029, allocations: 0.729 MB / 1.249 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003488/1.029, allocations: 310.9 kB / 1.25 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007358/1.03, allocations: 0.5363 MB / 1.25 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001808/1.032, allocations: 1.39 MB / 1.252 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.032, allocations: 0 / 1.252 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.094e-06/1.032, allocations: 0 / 1.252 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.67e-05/1.032, allocations: 0 / 1.252 GB, free: 1.617 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00243/1.034, allocations: 1.447 MB / 1.253 GB, free: 112 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/1.034, allocations: 12.03 kB / 1.253 GB, free: 100 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008041/1.035, allocations: 178.5 kB / 1.253 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/1.037, allocations: 0.806 MB / 1.254 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-05/1.037, allocations: 45 kB / 1.254 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-05/1.037, allocations: 59.98 kB / 1.254 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/1.038, allocations: 0.7966 MB / 1.255 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/1.038, allocations: 0 / 1.255 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.666e-05/1.038, allocations: 24 kB / 1.255 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/1.038, allocations: 12 kB / 1.255 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009411/1.039, allocations: 0.5344 MB / 1.255 GB, free: 13.52 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.004551/1.044, allocations: 4.61 MB / 1.26 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007695/1.044, allocations: 414.3 kB / 1.26 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004072/1.045, allocations: 240.7 kB / 1.261 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00034/1.045, allocations: 198.1 kB / 1.261 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005214/1.046, allocations: 297 kB / 1.261 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=31): time 2.194e-06/1.046, allocations: 0 / 1.261 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of matching and sorting (n=31): time 0.001509/1.047, allocations: 0.6319 MB / 1.262 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/1.047, allocations: 81.33 kB / 1.262 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/1.049, allocations: 1.121 MB / 1.263 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.278e-05/1.049, allocations: 41.64 kB / 1.263 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004543/1.049, allocations: 492.1 kB / 1.263 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/1.049, allocations: 114.5 kB / 1.263 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/1.05, allocations: 110 kB / 1.264 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001477/1.05, allocations: 321.9 kB / 1.264 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000396/1.05, allocations: 214.4 kB / 1.264 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000692/1.051, allocations: 0.5231 MB / 1.265 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009734/1.052, allocations: 0.6325 MB / 1.265 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/1.052, allocations: 4 kB / 1.265 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001355/1.053, allocations: 0.729 MB / 1.266 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.882e-05/1.053, allocations: 33.7 kB / 1.266 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.053, allocations: 4 kB / 1.266 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/1.053, allocations: 8 kB / 1.266 GB, free: 2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/1.055, allocations: 352 kB / 1.266 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00411/1.059, allocations: 6.079 MB / 1.272 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008284/1.06, allocations: 75.48 kB / 1.272 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-05/1.06, allocations: 20 kB / 1.272 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008035/1.061, allocations: 0.5008 MB / 1.273 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006066/1.062, allocations: 493.9 kB / 1.273 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000812/1.062, allocations: 0.5682 MB / 1.274 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.608e-06/1.062, allocations: 3.938 kB / 1.274 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001175/1.064, allocations: 0.642 MB / 1.274 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/1.064, allocations: 35.73 kB / 1.274 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.064, allocations: 8 kB / 1.274 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/1.064, allocations: 8 kB / 1.274 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005671/1.064, allocations: 156.4 kB / 1.275 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/1.064, allocations: 11.94 kB / 1.275 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006155/1.065, allocations: 72.03 kB / 1.275 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/1.065, allocations: 24 kB / 1.275 GB, free: 8.508 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 (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002337/1.065, allocations: 224 kB / 1.275 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/1.065, allocations: 94.78 kB / 1.275 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009625/1.066, allocations: 491 kB / 1.276 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/1.066, allocations: 11.98 kB / 1.276 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.066, allocations: 3.938 kB / 1.276 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/1.066, allocations: 3.938 kB / 1.276 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002108/1.068, allocations: 1.379 MB / 1.277 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/1.069, allocations: 0 / 1.277 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006243/1.069, allocations: 155.8 kB / 1.277 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-06/1.069, allocations: 4 kB / 1.277 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/1.069, allocations: 15.92 kB / 1.277 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003549/1.073, allocations: 6.013 MB / 1.283 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/1.073, allocations: 8.25 kB / 1.283 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/1.074, allocations: 0.6044 MB / 1.284 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003462/1.074, allocations: 211.8 kB / 1.284 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/1.074, allocations: 8 kB / 1.284 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003875/1.075, allocations: 19.98 kB / 1.284 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.482e-05/1.075, allocations: 35.97 kB / 1.284 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/1.075, allocations: 8 kB / 1.284 GB, free: 14.86 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001089/1.076, allocations: 0.7992 MB / 1.285 GB, free: 14.05 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.076, allocations: 0 / 1.285 GB, free: 14.05 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001171/1.077, allocations: 403.4 kB / 1.285 GB, free: 13.66 MB / 1.014 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 (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004456/1.078, allocations: 176.5 kB / 1.285 GB, free: 13.48 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003223/1.081, allocations: 1.127 MB / 1.286 GB, free: 12.33 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.081, allocations: 0 / 1.286 GB, free: 12.33 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008077/1.082, allocations: 289.4 kB / 1.287 GB, free: 12.05 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/1.084, allocations: 451.3 kB / 1.287 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/1.087, allocations: 1.866 MB / 1.289 GB, free: 9.695 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008554/1.088, allocations: 1.173 MB / 1.29 GB, free: 8.492 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/1.088, allocations: 75.42 kB / 1.29 GB, free: 8.418 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/1.088, allocations: 0 / 1.29 GB, free: 8.418 MB / 1.014 GB Notification: Performance of Templates: time 0.0721/1.16, allocations: 64.25 MB / 1.353 GB, free: 8.164 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches