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.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.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.001024/0.001024, allocations: 99.19 kB / 16.02 MB, free: 76 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.001538/0.001538, allocations: 185.6 kB / 16.92 MB, free: 6.688 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.383/1.383, allocations: 223.3 MB / 241 MB, free: 5.34 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.41/2.41, allocations: 390.9 MB / 0.667 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003415, allocations: 8 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6846/0.685, allocations: 142.4 MB / 0.9557 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1715/0.8565, allocations: 157.3 MB / 1.109 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00522/0.8618, allocations: 3.593 MB / 1.113 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004817/0.8623, allocations: 7.938 kB / 1.113 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006454/0.863, allocations: 135.2 kB / 1.113 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.8645, allocations: 0.4902 MB / 1.113 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.8659, allocations: 396 kB / 1.114 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00379/0.8697, allocations: 3.497 MB / 1.117 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/0.871, allocations: 0.7504 MB / 1.118 GB, free: 8.664 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/0.8729, allocations: 0.9024 MB / 1.119 GB, free: 7.758 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.8742, allocations: 0.7233 MB / 1.12 GB, free: 7.031 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002215/0.8744, allocations: 32 kB / 1.12 GB, free: 7 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001829/0.8762, allocations: 0.799 MB / 1.12 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004574/0.8767, allocations: 282.8 kB / 1.121 GB, free: 5.922 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.8778, allocations: 0.5301 MB / 1.121 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.8792, allocations: 1.013 MB / 1.122 GB, free: 4.367 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.8792, allocations: 0 / 1.122 GB, free: 4.367 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8792, allocations: 0 / 1.122 GB, free: 4.367 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.466e-05/0.8793, allocations: 4 kB / 1.122 GB, free: 4.363 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.002504/0.8818, allocations: 1.249 MB / 1.123 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.8818, allocations: 12.03 kB / 1.123 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009355/0.8828, allocations: 198.3 kB / 1.124 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.8843, allocations: 0.8022 MB / 1.124 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.721e-05/0.8843, allocations: 44.94 kB / 1.124 GB, free: 1.941 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.948e-05/0.8844, allocations: 60 kB / 1.124 GB, free: 1.883 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.8857, allocations: 0.7966 MB / 1.125 GB, free: 1.012 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.8857, allocations: 7.938 kB / 1.125 GB, free: 1.004 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.485e-05/0.8858, allocations: 23.98 kB / 1.125 GB, free: 0.9805 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.8858, allocations: 19.94 kB / 1.125 GB, free: 0.9609 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009272/0.8867, allocations: 0.5423 MB / 1.126 GB, free: 428 kB / 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.004433/0.8912, allocations: 4.591 MB / 1.13 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007281/0.8919, allocations: 427.2 kB / 1.131 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004192/0.8923, allocations: 252.6 kB / 1.131 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003141/0.8927, allocations: 202.1 kB / 1.131 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005383/0.8932, allocations: 301.5 kB / 1.131 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=31): time 2.304e-06/0.8932, allocations: 0 / 1.131 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of matching and sorting (n=31): time 0.005238/0.8985, allocations: 1.679 MB / 1.133 GB, free: 8.516 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.8986, allocations: 81.11 kB / 1.133 GB, free: 8.418 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.9001, allocations: 1.118 MB / 1.134 GB, free: 7.281 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.415e-05/0.9002, allocations: 37.7 kB / 1.134 GB, free: 7.238 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/0.9006, allocations: 488.4 kB / 1.135 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.9007, allocations: 126.3 kB / 1.135 GB, free: 6.629 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.554e-05/0.9008, allocations: 41.7 kB / 1.135 GB, free: 6.582 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.9009, allocations: 326 kB / 1.135 GB, free: 6.258 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004112/0.9014, allocations: 208.7 kB / 1.135 GB, free: 6.051 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000618/0.902, allocations: 0.5253 MB / 1.136 GB, free: 5.395 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009016/0.9029, allocations: 0.6431 MB / 1.137 GB, free: 4.672 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.9029, allocations: 4 kB / 1.137 GB, free: 4.668 MB / 0.8887 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002247/0.9052, allocations: 1.049 MB / 1.138 GB, free: 3.602 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002022/0.9054, allocations: 274.8 kB / 1.138 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.9054, allocations: 12 kB / 1.138 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.9067, allocations: 379.2 kB / 1.138 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.907, allocations: 63.84 kB / 1.138 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.9083, allocations: 1.094 MB / 1.139 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007391/0.9091, allocations: 103.7 kB / 1.139 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.37e-05/0.9092, allocations: 24 kB / 1.139 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.9092, allocations: 7.984 kB / 1.139 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00132/0.9105, allocations: 0.7265 MB / 1.14 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.9105, allocations: 4 kB / 1.14 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005181/0.9111, allocations: 222.2 kB / 1.14 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.9113, allocations: 63.91 kB / 1.14 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003593/0.9149, allocations: 2.994 MB / 1.143 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007611/0.9157, allocations: 91.81 kB / 1.143 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.9157, allocations: 27.94 kB / 1.143 GB, free: 13.28 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.0006495/0.9164, allocations: 472.6 kB / 1.144 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.9165, allocations: 102.7 kB / 1.144 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.9179, allocations: 0.7142 MB / 1.145 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.918, allocations: 7.938 kB / 1.145 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.918, allocations: 0 / 1.145 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.918, allocations: 4 kB / 1.145 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002452/0.9204, allocations: 1.619 MB / 1.146 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.9205, allocations: 4.219 kB / 1.146 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.9206, allocations: 35.91 kB / 1.146 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005964/0.9212, allocations: 242.2 kB / 1.147 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.9212, allocations: 15.94 kB / 1.147 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.9223, allocations: 1.034 MB / 1.148 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.9223, allocations: 7.984 kB / 1.148 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.9235, allocations: 0.8463 MB / 1.148 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003319/0.9239, allocations: 219.8 kB / 1.149 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.529e-05/0.924, allocations: 8 kB / 1.149 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004761/0.9244, allocations: 55.88 kB / 1.149 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.974e-05/0.9245, allocations: 31.91 kB / 1.149 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.9246, allocations: 8 kB / 1.149 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001062/0.9256, allocations: 0.7955 MB / 1.15 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9256, allocations: 0 / 1.15 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001311/0.927, allocations: 431.4 kB / 1.15 GB, free: 6.457 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.0005036/0.9275, allocations: 191.2 kB / 1.15 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002561/0.93, allocations: 1.205 MB / 1.151 GB, free: 5.031 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.9301, allocations: 0 / 1.151 GB, free: 5.031 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006059/0.9307, allocations: 272.2 kB / 1.152 GB, free: 4.766 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00248/0.9332, allocations: 459.8 kB / 1.152 GB, free: 4.32 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.9362, allocations: 2.147 MB / 1.154 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007375/0.9369, allocations: 1.189 MB / 1.155 GB, free: 0.8984 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.9371, allocations: 55.44 kB / 1.155 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of SimCode: time 7.11e-07/0.9371, allocations: 4 kB / 1.155 GB, free: 0.8398 MB / 0.9044 GB Notification: Performance of Templates: time 0.02915/0.9662, allocations: 20.34 MB / 1.175 GB, free: 12.58 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/jenkins1/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