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.001065/0.001065, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008366/0.008366, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.356/1.356, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.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.381/2.381, allocations: 390.9 MB / 0.6663 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003657, allocations: 8.281 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6597/0.6601, allocations: 142.4 MB / 0.955 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1741/0.8342, allocations: 157.3 MB / 1.109 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005746/0.84, allocations: 3.593 MB / 1.112 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005205/0.8406, allocations: 7.938 kB / 1.112 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005959/0.8412, allocations: 135.2 kB / 1.112 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001506/0.8427, allocations: 0.4941 MB / 1.113 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.8441, allocations: 392.1 kB / 1.113 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003755/0.8479, allocations: 3.488 MB / 1.117 GB, free: 9.344 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/0.8494, allocations: 0.766 MB / 1.117 GB, free: 8.57 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002443/0.8519, allocations: 0.8947 MB / 1.118 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.8533, allocations: 0.7233 MB / 1.119 GB, free: 6.945 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001714/0.8535, allocations: 39.94 kB / 1.119 GB, free: 6.906 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001699/0.8552, allocations: 0.799 MB / 1.12 GB, free: 6.105 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004689/0.8557, allocations: 278.9 kB / 1.12 GB, free: 5.832 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.8569, allocations: 0.5378 MB / 1.12 GB, free: 5.285 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.8589, allocations: 1.366 MB / 1.122 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.8589, allocations: 3.938 kB / 1.122 GB, free: 3.91 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8589, allocations: 0 / 1.122 GB, free: 3.91 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.574e-05/0.8589, allocations: 0 / 1.122 GB, free: 3.91 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.00248/0.8614, allocations: 1.256 MB / 1.123 GB, free: 2.594 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.8615, allocations: 8.031 kB / 1.123 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009344/0.8624, allocations: 198.4 kB / 1.123 GB, free: 2.391 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.8638, allocations: 0.7984 MB / 1.124 GB, free: 1.535 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.433e-05/0.8638, allocations: 45 kB / 1.124 GB, free: 1.488 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.101e-05/0.8639, allocations: 60 kB / 1.124 GB, free: 1.43 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.8651, allocations: 0.8043 MB / 1.125 GB, free: 0.5508 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.8652, allocations: 3.984 kB / 1.125 GB, free: 0.5469 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-05/0.8652, allocations: 24 kB / 1.125 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.8652, allocations: 15.94 kB / 1.125 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009387/0.8662, allocations: 0.5462 MB / 1.125 GB, free: 15.96 MB / 0.8887 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.003975/0.8702, allocations: 4.587 MB / 1.13 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007409/0.8709, allocations: 430.2 kB / 1.13 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004167/0.8714, allocations: 252.6 kB / 1.131 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002934/0.8717, allocations: 190.2 kB / 1.131 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005122/0.8722, allocations: 305.5 kB / 1.131 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=31): time 1.864e-06/0.8722, allocations: 0 / 1.131 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of matching and sorting (n=31): time 0.005371/0.8776, allocations: 1.683 MB / 1.133 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.8777, allocations: 85.09 kB / 1.133 GB, free: 7.961 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.8791, allocations: 1.122 MB / 1.134 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.997e-05/0.8792, allocations: 33.7 kB / 1.134 GB, free: 6.781 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004376/0.8796, allocations: 492.2 kB / 1.134 GB, free: 6.293 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.8797, allocations: 110.4 kB / 1.135 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/0.8798, allocations: 41.7 kB / 1.135 GB, free: 6.137 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.8799, allocations: 326.2 kB / 1.135 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/0.8803, allocations: 216.7 kB / 1.135 GB, free: 5.598 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006215/0.8809, allocations: 0.5252 MB / 1.136 GB, free: 4.941 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000903/0.8819, allocations: 0.6543 MB / 1.136 GB, free: 4.207 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.8819, allocations: 4 kB / 1.136 GB, free: 4.203 MB / 0.8887 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002242/0.8841, allocations: 1.039 MB / 1.137 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.000188/0.8843, allocations: 266.6 kB / 1.138 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.8843, allocations: 19.86 kB / 1.138 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.8857, allocations: 383.8 kB / 1.138 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.8859, allocations: 63.91 kB / 1.138 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.8873, allocations: 1.087 MB / 1.139 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007578/0.8881, allocations: 99.38 kB / 1.139 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.422e-05/0.8881, allocations: 27.98 kB / 1.139 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.8882, allocations: 4.094 kB / 1.139 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001338/0.8895, allocations: 0.7239 MB / 1.14 GB, free: 380 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.8895, allocations: 8 kB / 1.14 GB, free: 372 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005187/0.89, allocations: 221.2 kB / 1.14 GB, free: 148 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.8903, allocations: 63.91 kB / 1.14 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003563/0.8938, allocations: 2.998 MB / 1.143 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007602/0.8946, allocations: 95.62 kB / 1.143 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.8947, allocations: 20 kB / 1.143 GB, free: 12.83 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 (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.0006035/0.8953, allocations: 470.6 kB / 1.144 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.8954, allocations: 102.9 kB / 1.144 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.8968, allocations: 0.7338 MB / 1.144 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.8968, allocations: 7.938 kB / 1.144 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.8968, allocations: 4 kB / 1.144 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.8968, allocations: 0 / 1.144 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002399/0.8992, allocations: 1.605 MB / 1.146 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.8992, allocations: 7.984 kB / 1.146 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.8994, allocations: 23.98 kB / 1.146 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005123/0.8999, allocations: 264 kB / 1.146 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.8999, allocations: 8 kB / 1.146 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.9009, allocations: 1.036 MB / 1.147 GB, free: 8.457 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.901, allocations: 4.031 kB / 1.147 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.9022, allocations: 0.8446 MB / 1.148 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003207/0.9026, allocations: 215.8 kB / 1.148 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.767e-05/0.9027, allocations: 8 kB / 1.148 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005062/0.9032, allocations: 55.88 kB / 1.148 GB, free: 7.273 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.9033, allocations: 31.84 kB / 1.148 GB, free: 7.242 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.9033, allocations: 12 kB / 1.148 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001008/0.9043, allocations: 0.7955 MB / 1.149 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9043, allocations: 0 / 1.149 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001298/0.9056, allocations: 435.4 kB / 1.15 GB, free: 6 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 (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.0004152/0.9061, allocations: 185.7 kB / 1.15 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002614/0.9087, allocations: 1.208 MB / 1.151 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.9087, allocations: 4.062 kB / 1.151 GB, free: 4.57 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006567/0.9094, allocations: 284.1 kB / 1.151 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/0.9119, allocations: 454.1 kB / 1.152 GB, free: 3.855 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.9151, allocations: 2.09 MB / 1.154 GB, free: 1.715 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008242/0.916, allocations: 1.181 MB / 1.155 GB, free: 0.5039 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009486/0.9169, allocations: 311.9 kB / 1.155 GB, free: 200 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.9171, allocations: 55.44 kB / 1.155 GB, free: 144 kB / 0.9044 GB Notification: Performance of SimCode: time 3.146e-06/0.9171, allocations: 0 / 1.155 GB, free: 144 kB / 0.9044 GB Notification: Performance of Templates: time 0.03168/0.9487, allocations: 18.4 MB / 1.173 GB, free: 13.92 MB / 0.9356 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