Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001761, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.299/1.299, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.153/2.153, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 67.89 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6683/0.6697, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.1747/0.8445, allocations: 167.8 MB / 1.252 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00355/0.848, allocations: 2.197 MB / 1.255 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004196/0.8485, allocations: 19.88 kB / 1.255 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007106/0.8493, allocations: 250.5 kB / 1.255 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.8508, allocations: 0.6962 MB / 1.256 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.852, allocations: 446.5 kB / 1.256 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002706/0.8547, allocations: 2.769 MB / 1.259 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002747/0.8574, allocations: 2.548 MB / 1.261 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/0.8595, allocations: 1.285 MB / 1.262 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.8607, allocations: 0.8675 MB / 1.263 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002192/0.8609, allocations: 72 kB / 1.263 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.8624, allocations: 0.8225 MB / 1.264 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004109/0.8629, allocations: 362.7 kB / 1.264 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007757/0.8636, allocations: 0.618 MB / 1.265 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.8654, allocations: 1.618 MB / 1.267 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.8655, allocations: 0 / 1.267 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8655, allocations: 0 / 1.267 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.541e-05/0.8655, allocations: 7.938 kB / 1.267 GB, free: 7.383 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002786/0.8683, allocations: 1.607 MB / 1.268 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.8683, allocations: 12.03 kB / 1.268 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008568/0.8692, allocations: 206.4 kB / 1.268 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.8708, allocations: 0.9241 MB / 1.269 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/0.8709, allocations: 49.31 kB / 1.269 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.871, allocations: 63.94 kB / 1.269 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.8724, allocations: 0.9909 MB / 1.27 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.8724, allocations: 4 kB / 1.27 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.681e-05/0.8725, allocations: 20 kB / 1.27 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.8725, allocations: 16 kB / 1.27 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.8738, allocations: 0.7999 MB / 1.271 GB, free: 2.5 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.004279/0.8781, allocations: 4.773 MB / 1.276 GB, free: 13.38 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/0.8803, allocations: 4.007 MB / 1.28 GB, free: 8.547 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004835/0.8808, allocations: 346.2 kB / 1.28 GB, free: 8.207 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002702/0.881, allocations: 198.5 kB / 1.28 GB, free: 7.977 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005153/0.8816, allocations: 317.1 kB / 1.281 GB, free: 7.648 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001942/0.8818, allocations: 31.69 kB / 1.281 GB, free: 7.617 MB / 1.014 GB Notification: Performance of pre-optimization done (n=35): time 3.867e-06/0.8818, allocations: 0 / 1.281 GB, free: 7.617 MB / 1.014 GB Notification: Performance of matching and sorting (n=35): time 0.00445/0.8862, allocations: 1.489 MB / 1.282 GB, free: 6.098 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.8863, allocations: 85.11 kB / 1.282 GB, free: 5.996 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.8876, allocations: 1.177 MB / 1.283 GB, free: 4.805 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.653e-05/0.8877, allocations: 41.7 kB / 1.283 GB, free: 4.758 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004125/0.8881, allocations: 0.5043 MB / 1.284 GB, free: 4.25 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.566e-05/0.8882, allocations: 126.4 kB / 1.284 GB, free: 4.125 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.8884, allocations: 118.1 kB / 1.284 GB, free: 4.004 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.116e-05/0.8885, allocations: 325.9 kB / 1.284 GB, free: 3.68 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/0.8889, allocations: 246.9 kB / 1.285 GB, free: 3.434 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000635/0.8896, allocations: 0.5527 MB / 1.285 GB, free: 2.742 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000925/0.8905, allocations: 0.6795 MB / 1.286 GB, free: 1.984 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.8905, allocations: 4 kB / 1.286 GB, free: 1.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002357/0.8929, allocations: 1.107 MB / 1.287 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.8929, allocations: 41.69 kB / 1.287 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.8929, allocations: 8.625 kB / 1.287 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/0.8944, allocations: 410.6 kB / 1.287 GB, free: 408 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005248/0.895, allocations: 111.8 kB / 1.287 GB, free: 296 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/0.8966, allocations: 1.655 MB / 1.289 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000823/0.8974, allocations: 64.02 kB / 1.289 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/0.8975, allocations: 24 kB / 1.289 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007233/0.8982, allocations: 0.5242 MB / 1.29 GB, free: 13.97 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005586/0.8988, allocations: 0.5254 MB / 1.29 GB, free: 13.31 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007831/0.8996, allocations: 0.5954 MB / 1.291 GB, free: 12.63 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.407e-06/0.8996, allocations: 4 kB / 1.291 GB, free: 12.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001576/0.9012, allocations: 0.9039 MB / 1.292 GB, free: 11.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.9012, allocations: 36.2 kB / 1.292 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.9013, allocations: 11.98 kB / 1.292 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00048/0.9017, allocations: 215.5 kB / 1.292 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/0.9021, allocations: 95.8 kB / 1.292 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003556/0.9057, allocations: 3.165 MB / 1.295 GB, free: 8.051 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000812/0.9065, allocations: 71.97 kB / 1.295 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/0.9066, allocations: 24 kB / 1.295 GB, free: 7.957 MB / 1.029 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(10,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001787/0.9068, allocations: 220 kB / 1.295 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.9069, allocations: 106.7 kB / 1.296 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.9083, allocations: 0.7775 MB / 1.296 GB, free: 6.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.9083, allocations: 7.922 kB / 1.296 GB, free: 6.832 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.9083, allocations: 0 / 1.296 GB, free: 6.832 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003626/0.9087, allocations: 223.8 kB / 1.297 GB, free: 6.594 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.9088, allocations: 7.984 kB / 1.297 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005557/0.9094, allocations: 39.95 kB / 1.297 GB, free: 6.547 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.9095, allocations: 43.92 kB / 1.297 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00159/0.9111, allocations: 0.8683 MB / 1.297 GB, free: 5.621 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001298/0.9124, allocations: 1.013 MB / 1.298 GB, free: 4.594 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003746/0.9128, allocations: 207.8 kB / 1.299 GB, free: 4.391 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001035/0.9138, allocations: 0.8327 MB / 1.299 GB, free: 3.551 MB / 1.029 GB Notification: Performance of Backend: time 5.81e-07/0.9138, allocations: 0 / 1.299 GB, free: 3.551 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003442/0.9173, allocations: 1.365 MB / 1.301 GB, free: 2.145 MB / 1.029 GB Notification: Performance of SimCode: time 0.004142/0.9214, allocations: 2.893 MB / 1.304 GB, free: 15.21 MB / 1.045 GB Notification: Performance of Templates: time 0.03267/0.9541, allocations: 21.84 MB / 1.325 GB, free: 9.574 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches