Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001009/0.001009, allocations: 97.64 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.008047/0.008046, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.539/2.539, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.000342, allocations: 8 kB / 0.8728 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6587/0.6591, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1841/0.8433, allocations: 157.3 MB / 1.177 GB, free: 1.988 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005467/0.8488, allocations: 3.595 MB / 1.18 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004464/0.8493, allocations: 11.88 kB / 1.18 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005288/0.8498, allocations: 131.2 kB / 1.18 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.8513, allocations: 0.498 MB / 1.181 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.8528, allocations: 400.7 kB / 1.181 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003559/0.8564, allocations: 3.49 MB / 1.185 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.8577, allocations: 0.7543 MB / 1.185 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001885/0.8596, allocations: 0.9025 MB / 1.186 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/0.8609, allocations: 0.7116 MB / 1.187 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000207/0.8611, allocations: 32 kB / 1.187 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002217/0.8633, allocations: 0.8029 MB / 1.188 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005388/0.8639, allocations: 286.9 kB / 1.188 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.8649, allocations: 0.5184 MB / 1.188 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.8667, allocations: 1.378 MB / 1.19 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.8668, allocations: 0 / 1.19 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8668, allocations: 0 / 1.19 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.8668, allocations: 0 / 1.19 GB, free: 4.441 MB / 0.9356 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.002037/0.8688, allocations: 1.268 MB / 1.191 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.8689, allocations: 8.031 kB / 1.191 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007659/0.8696, allocations: 190.5 kB / 1.191 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.8708, allocations: 0.8023 MB / 1.192 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.443e-05/0.8709, allocations: 41 kB / 1.192 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.839e-05/0.871, allocations: 60 kB / 1.192 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.8722, allocations: 0.7966 MB / 1.193 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.8722, allocations: 7.984 kB / 1.193 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.351e-05/0.8723, allocations: 20 kB / 1.193 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.8723, allocations: 19.94 kB / 1.193 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009638/0.8733, allocations: 0.5461 MB / 1.193 GB, free: 500 kB / 0.9356 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.004106/0.8774, allocations: 4.595 MB / 1.198 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007647/0.8782, allocations: 430.2 kB / 1.198 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004225/0.8786, allocations: 252 kB / 1.199 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003051/0.8789, allocations: 194.2 kB / 1.199 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005153/0.8795, allocations: 305.2 kB / 1.199 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 4.058e-06/0.8795, allocations: 0 / 1.199 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of matching and sorting (n=31): time 0.005254/0.8847, allocations: 1.677 MB / 1.201 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.8848, allocations: 81.11 kB / 1.201 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.8864, allocations: 1.118 MB / 1.202 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6e-05/0.8864, allocations: 41.7 kB / 1.202 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003917/0.8868, allocations: 492 kB / 1.202 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.913e-05/0.8869, allocations: 110.5 kB / 1.202 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.418e-05/0.887, allocations: 49.64 kB / 1.203 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.8871, allocations: 322 kB / 1.203 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.8875, allocations: 216.7 kB / 1.203 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005731/0.8881, allocations: 0.5252 MB / 1.204 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008622/0.889, allocations: 0.6367 MB / 1.204 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.889, allocations: 8 kB / 1.204 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002284/0.8913, allocations: 1.053 MB / 1.205 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.00023/0.8915, allocations: 276.5 kB / 1.205 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.8915, allocations: 4 kB / 1.205 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.8928, allocations: 389.9 kB / 1.206 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.893, allocations: 59.91 kB / 1.206 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.8949, allocations: 1.096 MB / 1.207 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.8961, allocations: 95.38 kB / 1.207 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-05/0.8962, allocations: 28 kB / 1.207 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.8962, allocations: 4 kB / 1.207 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001589/0.8978, allocations: 0.7319 MB / 1.208 GB, free: 0.8828 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.8978, allocations: 4 kB / 1.208 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006082/0.8984, allocations: 219.1 kB / 1.208 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.8986, allocations: 67.84 kB / 1.208 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003956/0.9026, allocations: 3.004 MB / 1.211 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008708/0.9035, allocations: 95.53 kB / 1.211 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.511e-05/0.9036, allocations: 24 kB / 1.211 GB, free: 13.34 MB / 0.9669 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.0007743/0.9044, allocations: 464.7 kB / 1.212 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003072/0.9047, allocations: 98.78 kB / 1.212 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.9063, allocations: 0.7143 MB / 1.212 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.9063, allocations: 15.86 kB / 1.212 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.9063, allocations: 0 / 1.212 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/0.9063, allocations: 4 kB / 1.212 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002754/0.9091, allocations: 1.623 MB / 1.214 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.9091, allocations: 4 kB / 1.214 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.9092, allocations: 23.98 kB / 1.214 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005114/0.9098, allocations: 242.4 kB / 1.214 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.9098, allocations: 15.94 kB / 1.214 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/0.9111, allocations: 1.034 MB / 1.215 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.9111, allocations: 12.03 kB / 1.215 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.9125, allocations: 0.8278 MB / 1.216 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004345/0.9129, allocations: 219.8 kB / 1.216 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/0.9131, allocations: 8 kB / 1.216 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000592/0.9137, allocations: 55.89 kB / 1.216 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.9138, allocations: 35.83 kB / 1.216 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.9139, allocations: 12 kB / 1.216 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001319/0.9152, allocations: 0.7994 MB / 1.217 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9152, allocations: 0 / 1.217 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001603/0.9168, allocations: 435.4 kB / 1.218 GB, free: 6.523 MB / 0.9669 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.0006439/0.9175, allocations: 178.1 kB / 1.218 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003003/0.9205, allocations: 1.213 MB / 1.219 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.9205, allocations: 4 kB / 1.219 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006724/0.9212, allocations: 280 kB / 1.219 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002713/0.924, allocations: 452.1 kB / 1.22 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003877/0.9278, allocations: 2.098 MB / 1.222 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009414/0.9288, allocations: 1.181 MB / 1.223 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001188/0.93, allocations: 303.9 kB / 1.223 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.9302, allocations: 63.44 kB / 1.223 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of SimCode: time 1.393e-06/0.9302, allocations: 0 / 1.223 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of Templates: time 0.03659/0.9668, allocations: 18.4 MB / 1.241 GB, free: 14.45 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches