Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.009528/0.009528, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.002013/0.002013, allocations: 197.1 kB / 16.68 MB, free: 5.926 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.496/1.496, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.238/2.238, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.91 kB / 0.9508 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7874/0.7886, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1928/0.9814, allocations: 161.6 MB / 1.246 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005435/0.9869, allocations: 3.627 MB / 1.249 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004425/0.9874, allocations: 15.94 kB / 1.249 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006444/0.9881, allocations: 162.8 kB / 1.249 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001605/0.9897, allocations: 0.5289 MB / 1.25 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.9912, allocations: 438.7 kB / 1.25 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003239/0.9945, allocations: 2.543 MB / 1.253 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.9959, allocations: 0.9411 MB / 1.254 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002023/0.9979, allocations: 1.039 MB / 1.255 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.9994, allocations: 0.7078 MB / 1.255 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002276/0.9997, allocations: 56 kB / 1.256 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/1.002, allocations: 0.7406 MB / 1.256 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004354/1.002, allocations: 306.9 kB / 1.257 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009666/1.003, allocations: 0.544 MB / 1.257 GB, free: 472 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002093/1.005, allocations: 1.396 MB / 1.258 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/1.005, allocations: 3.984 kB / 1.258 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.332e-06/1.005, allocations: 0 / 1.258 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.063e-05/1.005, allocations: 0 / 1.258 GB, free: 15.05 MB / 0.9981 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.00274/1.008, allocations: 1.454 MB / 1.26 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/1.008, allocations: 8.031 kB / 1.26 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007997/1.009, allocations: 190.4 kB / 1.26 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/1.01, allocations: 0.8491 MB / 1.261 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.006e-05/1.01, allocations: 41 kB / 1.261 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-05/1.01, allocations: 60 kB / 1.261 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/1.012, allocations: 0.7888 MB / 1.262 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/1.012, allocations: 3.938 kB / 1.262 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.315e-05/1.012, allocations: 24 kB / 1.262 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/1.012, allocations: 16 kB / 1.262 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000967/1.013, allocations: 0.5383 MB / 1.262 GB, free: 10.89 MB / 0.9981 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.004395/1.017, allocations: 4.591 MB / 1.267 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007394/1.018, allocations: 418.8 kB / 1.267 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000381/1.018, allocations: 248.7 kB / 1.267 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003103/1.019, allocations: 202.1 kB / 1.268 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004967/1.019, allocations: 293.1 kB / 1.268 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.324e-06/1.019, allocations: 4 kB / 1.268 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.005107/1.024, allocations: 1.649 MB / 1.27 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/1.024, allocations: 85.09 kB / 1.27 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/1.026, allocations: 1.122 MB / 1.271 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.402e-05/1.026, allocations: 33.7 kB / 1.271 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004761/1.027, allocations: 492.2 kB / 1.271 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/1.027, allocations: 110.5 kB / 1.271 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/1.027, allocations: 113.9 kB / 1.271 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.027, allocations: 326 kB / 1.272 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003786/1.028, allocations: 210.4 kB / 1.272 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006386/1.028, allocations: 0.5213 MB / 1.272 GB, free: 15.85 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000982/1.029, allocations: 0.6266 MB / 1.273 GB, free: 15.14 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.029, allocations: 0 / 1.273 GB, free: 15.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00231/1.032, allocations: 1.034 MB / 1.274 GB, free: 14.09 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.746e-05/1.032, allocations: 36.05 kB / 1.274 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/1.032, allocations: 4 kB / 1.274 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/1.033, allocations: 382.6 kB / 1.274 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/1.033, allocations: 59.91 kB / 1.275 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/1.035, allocations: 1.078 MB / 1.276 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009309/1.036, allocations: 83.61 kB / 1.276 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.937e-05/1.036, allocations: 27.92 kB / 1.276 GB, free: 12.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008442/1.036, allocations: 0.5005 MB / 1.276 GB, free: 11.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006117/1.037, allocations: 494 kB / 1.277 GB, free: 11.29 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000832/1.038, allocations: 0.5605 MB / 1.277 GB, free: 10.64 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.889e-06/1.038, allocations: 4 kB / 1.277 GB, free: 10.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.00163/1.04, allocations: 0.8302 MB / 1.278 GB, free: 9.793 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/1.04, allocations: 33.7 kB / 1.278 GB, free: 9.754 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.04, allocations: 8.625 kB / 1.278 GB, free: 9.746 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005363/1.04, allocations: 212.7 kB / 1.278 GB, free: 9.535 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/1.04, allocations: 67.84 kB / 1.278 GB, free: 9.469 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0038/1.044, allocations: 3.264 MB / 1.282 GB, free: 6.055 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007423/1.045, allocations: 75.84 kB / 1.282 GB, free: 5.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/1.045, allocations: 20 kB / 1.282 GB, free: 5.961 MB / 1.014 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.000211/1.045, allocations: 220.1 kB / 1.282 GB, free: 5.738 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/1.045, allocations: 102.8 kB / 1.282 GB, free: 5.637 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/1.047, allocations: 0.7065 MB / 1.283 GB, free: 4.922 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/1.047, allocations: 4 kB / 1.283 GB, free: 4.918 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/1.047, allocations: 0 / 1.283 GB, free: 4.918 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/1.047, allocations: 7.984 kB / 1.283 GB, free: 4.91 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002501/1.049, allocations: 1.597 MB / 1.284 GB, free: 3.234 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/1.049, allocations: 0 / 1.284 GB, free: 3.234 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/1.05, allocations: 23.92 kB / 1.284 GB, free: 3.211 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005103/1.05, allocations: 247.2 kB / 1.284 GB, free: 2.969 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/1.05, allocations: 16.14 kB / 1.284 GB, free: 2.953 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/1.051, allocations: 1.029 MB / 1.285 GB, free: 1.898 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.051, allocations: 4 kB / 1.285 GB, free: 1.895 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/1.052, allocations: 0.8253 MB / 1.286 GB, free: 1.027 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/1.053, allocations: 215.8 kB / 1.286 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/1.053, allocations: 11.98 kB / 1.286 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004388/1.053, allocations: 19.98 kB / 1.286 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.619e-05/1.053, allocations: 35.89 kB / 1.287 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/1.053, allocations: 12 kB / 1.287 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001032/1.055, allocations: 0.7877 MB / 1.287 GB, free: 15.92 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.533e-06/1.055, allocations: 4.188 kB / 1.287 GB, free: 15.92 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001221/1.056, allocations: 435.4 kB / 1.288 GB, free: 15.49 MB / 1.029 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.0004032/1.056, allocations: 181.7 kB / 1.288 GB, free: 15.31 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00253/1.059, allocations: 1.204 MB / 1.289 GB, free: 14.07 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.059, allocations: 0 / 1.289 GB, free: 14.07 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006325/1.059, allocations: 286.3 kB / 1.289 GB, free: 13.8 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/1.061, allocations: 451.8 kB / 1.29 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/1.064, allocations: 1.787 MB / 1.292 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007451/1.065, allocations: 1.177 MB / 1.293 GB, free: 10.32 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000775/1.066, allocations: 315.8 kB / 1.293 GB, free: 10 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/1.066, allocations: 63.44 kB / 1.293 GB, free: 9.941 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/1.066, allocations: 0 / 1.293 GB, free: 9.941 MB / 1.029 GB Notification: Performance of Templates: time 0.03338/1.099, allocations: 19.82 MB / 1.312 GB, free: 6.324 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches