Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_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_9_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.0009707/0.0009708, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.368/1.368, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.374/2.374, allocations: 390.9 MB / 0.667 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004102, allocations: 11.98 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7983/0.7987, allocations: 142.4 MB / 0.9557 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1785/0.9773, allocations: 157.3 MB / 1.109 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00358/0.9809, allocations: 1.747 MB / 1.111 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004882/0.9814, allocations: 19.81 kB / 1.111 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006496/0.9821, allocations: 131.2 kB / 1.111 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.9838, allocations: 0.4902 MB / 1.112 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.9849, allocations: 342.4 kB / 1.112 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003603/0.9885, allocations: 3.48 MB / 1.115 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.9898, allocations: 0.7544 MB / 1.116 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001857/0.9917, allocations: 0.9025 MB / 1.117 GB, free: 9.801 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.993, allocations: 0.7272 MB / 1.118 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001859/0.9932, allocations: 32 kB / 1.118 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.9949, allocations: 0.799 MB / 1.119 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004381/0.9954, allocations: 274.9 kB / 1.119 GB, free: 7.969 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009278/0.9963, allocations: 0.5339 MB / 1.119 GB, free: 7.426 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.9977, allocations: 1.002 MB / 1.12 GB, free: 6.422 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.9977, allocations: 0 / 1.12 GB, free: 6.422 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.146e-06/0.9977, allocations: 4 kB / 1.12 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.629e-05/0.9977, allocations: 0 / 1.12 GB, free: 6.418 MB / 0.8731 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.002096/0.9998, allocations: 1.264 MB / 1.122 GB, free: 5.094 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.9999, allocations: 8.031 kB / 1.122 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007784/1.001, allocations: 186.5 kB / 1.122 GB, free: 4.902 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/1.002, allocations: 0.7982 MB / 1.122 GB, free: 4.047 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.104e-05/1.002, allocations: 49 kB / 1.123 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.275e-05/1.002, allocations: 63.92 kB / 1.123 GB, free: 3.934 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/1.003, allocations: 0.7927 MB / 1.123 GB, free: 3.066 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/1.003, allocations: 4 kB / 1.123 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.435e-05/1.003, allocations: 20 kB / 1.123 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/1.003, allocations: 19.94 kB / 1.123 GB, free: 3.023 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009586/1.004, allocations: 0.5423 MB / 1.124 GB, free: 2.48 MB / 0.8731 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.004206/1.009, allocations: 4.602 MB / 1.128 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007354/1.009, allocations: 422.3 kB / 1.129 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004078/1.01, allocations: 248.7 kB / 1.129 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003199/1.01, allocations: 198.2 kB / 1.129 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000513/1.011, allocations: 297.6 kB / 1.13 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=31): time 2.264e-06/1.011, allocations: 0 / 1.13 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of matching and sorting (n=31): time 0.001444/1.012, allocations: 0.6521 MB / 1.13 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/1.012, allocations: 85.05 kB / 1.13 GB, free: 11.53 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/1.014, allocations: 1.118 MB / 1.131 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.548e-05/1.014, allocations: 41.7 kB / 1.131 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004159/1.014, allocations: 488.1 kB / 1.132 GB, free: 9.863 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/1.014, allocations: 110.5 kB / 1.132 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.556e-05/1.014, allocations: 45.69 kB / 1.132 GB, free: 9.703 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.014, allocations: 325.9 kB / 1.132 GB, free: 9.379 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003965/1.015, allocations: 212.7 kB / 1.133 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006599/1.015, allocations: 0.533 MB / 1.133 GB, free: 8.504 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009294/1.016, allocations: 0.6463 MB / 1.134 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.016, allocations: 0 / 1.134 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001258/1.018, allocations: 0.7342 MB / 1.134 GB, free: 7.031 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002183/1.018, allocations: 266.7 kB / 1.135 GB, free: 6.688 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/1.018, allocations: 8.281 kB / 1.135 GB, free: 6.68 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/1.018, allocations: 15.94 kB / 1.135 GB, free: 6.664 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/1.02, allocations: 355.5 kB / 1.135 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003754/1.024, allocations: 6.087 MB / 1.141 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008647/1.024, allocations: 99.45 kB / 1.141 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.275e-05/1.025, allocations: 24 kB / 1.141 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/1.025, allocations: 4 kB / 1.141 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009624/1.026, allocations: 0.5401 MB / 1.142 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/1.026, allocations: 8.656 kB / 1.142 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/1.026, allocations: 11.94 kB / 1.142 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005249/1.026, allocations: 155.8 kB / 1.142 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/1.026, allocations: 11.94 kB / 1.142 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007647/1.027, allocations: 91.53 kB / 1.142 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.088e-05/1.027, allocations: 20 kB / 1.142 GB, free: 15.03 MB / 0.9044 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.0006256/1.028, allocations: 480.6 kB / 1.142 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/1.028, allocations: 98.78 kB / 1.142 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009866/1.029, allocations: 0.4912 MB / 1.143 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/1.029, allocations: 7.938 kB / 1.143 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/1.029, allocations: 0 / 1.143 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.029, allocations: 0 / 1.143 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/1.031, allocations: 1.401 MB / 1.144 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/1.031, allocations: 0 / 1.144 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005992/1.032, allocations: 156 kB / 1.144 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/1.032, allocations: 7.984 kB / 1.144 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/1.032, allocations: 4 kB / 1.144 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003348/1.035, allocations: 6.032 MB / 1.15 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.035, allocations: 0 / 1.15 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/1.036, allocations: 0.6179 MB / 1.151 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005156/1.037, allocations: 211.8 kB / 1.151 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/1.037, allocations: 8 kB / 1.151 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005862/1.038, allocations: 51.89 kB / 1.151 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/1.038, allocations: 31.89 kB / 1.151 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/1.038, allocations: 12 kB / 1.151 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001287/1.039, allocations: 0.7875 MB / 1.152 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.713e-06/1.039, allocations: 0 / 1.152 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001425/1.04, allocations: 419.3 kB / 1.152 GB, free: 3.848 MB / 0.9044 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.000506/1.041, allocations: 175.9 kB / 1.153 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003223/1.044, allocations: 1.117 MB / 1.154 GB, free: 2.535 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.044, allocations: 4.125 kB / 1.154 GB, free: 2.531 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007969/1.045, allocations: 288.1 kB / 1.154 GB, free: 2.25 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00271/1.048, allocations: 449.9 kB / 1.154 GB, free: 1.812 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003686/1.051, allocations: 2.159 MB / 1.156 GB, free: 15.6 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008546/1.052, allocations: 1.184 MB / 1.158 GB, free: 14.39 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/1.053, allocations: 63.44 kB / 1.158 GB, free: 14.32 MB / 0.92 GB Notification: Performance of SimCode: time 8.92e-07/1.053, allocations: 3.938 kB / 1.158 GB, free: 14.32 MB / 0.92 GB Notification: Performance of Templates: time 0.06742/1.12, allocations: 64.16 MB / 1.22 GB, free: 14.16 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches