Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001053/0.001053, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001398/0.001398, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.811/2.811, allocations: 462.6 MB / 0.736 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003038, allocations: 10.92 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2945, allocations: 159.6 MB / 1.058 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1588/0.4533, allocations: 146.7 MB / 1.201 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004371/0.4577, allocations: 3.383 MB / 1.205 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000256/0.458, allocations: 7.938 kB / 1.205 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003848/0.4584, allocations: 111.2 kB / 1.205 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000981/0.4593, allocations: 394.1 kB / 1.205 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009757/0.4603, allocations: 379.1 kB / 1.205 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002887/0.4632, allocations: 2.992 MB / 1.208 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009268/0.4642, allocations: 0.6954 MB / 1.209 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001441/0.4656, allocations: 0.8676 MB / 1.21 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008359/0.4665, allocations: 0.704 MB / 1.211 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.74e-05/0.4666, allocations: 32 kB / 1.211 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.4677, allocations: 0.5535 MB / 1.211 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002816/0.468, allocations: 282.9 kB / 1.211 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002545/0.4683, allocations: 229.1 kB / 1.212 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.4693, allocations: 1.033 MB / 1.213 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.4693, allocations: 0 / 1.213 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4693, allocations: 0 / 1.213 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.4694, allocations: 4 kB / 1.213 GB, free: 6.555 MB / 0.9669 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.001872/0.4712, allocations: 1.303 MB / 1.214 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.4713, allocations: 8.031 kB / 1.214 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007303/0.472, allocations: 186.5 kB / 1.214 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.4734, allocations: 0.7886 MB / 1.215 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/0.4734, allocations: 48.94 kB / 1.215 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.507e-05/0.4735, allocations: 64 kB / 1.215 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.4747, allocations: 0.7925 MB / 1.216 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.4747, allocations: 4 kB / 1.216 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.161e-05/0.4748, allocations: 23.94 kB / 1.216 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.4748, allocations: 16 kB / 1.216 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000897/0.4757, allocations: 0.5384 MB / 1.216 GB, free: 2.59 MB / 0.9669 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.003874/0.4796, allocations: 4.61 MB / 1.221 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006855/0.4803, allocations: 430.3 kB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/0.4807, allocations: 244.9 kB / 1.222 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002736/0.481, allocations: 194.2 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004866/0.4815, allocations: 309.5 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=31): time 1.603e-06/0.4815, allocations: 0 / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=31): time 0.004767/0.4863, allocations: 1.665 MB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.4863, allocations: 81.11 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.4877, allocations: 1.118 MB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.569e-05/0.4878, allocations: 33.7 kB / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003892/0.4881, allocations: 0.4922 MB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.981e-05/0.4882, allocations: 102.5 kB / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.4883, allocations: 16 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.4884, allocations: 322 kB / 1.226 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.4887, allocations: 188.7 kB / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005521/0.4893, allocations: 0.4901 MB / 1.226 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004284/0.4897, allocations: 297.6 kB / 1.227 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.4898, allocations: 4 kB / 1.227 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001984/0.4917, allocations: 0.9877 MB / 1.228 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001596/0.4919, allocations: 284.3 kB / 1.228 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.4919, allocations: 8 kB / 1.228 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.4931, allocations: 347.6 kB / 1.228 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.4934, allocations: 63.91 kB / 1.228 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.4946, allocations: 1.106 MB / 1.229 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008574/0.4955, allocations: 107.4 kB / 1.229 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.215e-05/0.4956, allocations: 24 kB / 1.23 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.4956, allocations: 4 kB / 1.23 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001903/0.4975, allocations: 0.7364 MB / 1.23 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.4975, allocations: 8.125 kB / 1.23 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007794/0.4983, allocations: 225.8 kB / 1.23 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.4987, allocations: 67.91 kB / 1.231 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005292/0.504, allocations: 3.021 MB / 1.233 GB, free: 116 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.5051, allocations: 95.59 kB / 1.234 GB, free: 20 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.809e-05/0.5052, allocations: 24.03 kB / 1.234 GB, free: 15.99 MB / 0.9981 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.000808/0.506, allocations: 468.7 kB / 1.234 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/0.5062, allocations: 102.7 kB / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/0.5081, allocations: 0.722 MB / 1.235 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.5082, allocations: 4 kB / 1.235 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5082, allocations: 4 kB / 1.235 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.5082, allocations: 3.984 kB / 1.235 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003637/0.5118, allocations: 1.616 MB / 1.236 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.5119, allocations: 4 kB / 1.236 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.512, allocations: 19.98 kB / 1.236 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007244/0.5128, allocations: 256.5 kB / 1.237 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/0.5128, allocations: 8 kB / 1.237 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/0.5143, allocations: 1.032 MB / 1.238 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.5144, allocations: 7.984 kB / 1.238 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.5162, allocations: 0.8332 MB / 1.239 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004897/0.5167, allocations: 219.8 kB / 1.239 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.5169, allocations: 15.98 kB / 1.239 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007767/0.5177, allocations: 55.8 kB / 1.239 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.5178, allocations: 35.84 kB / 1.239 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.5179, allocations: 12 kB / 1.239 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001536/0.5194, allocations: 0.7838 MB / 1.24 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5194, allocations: 0 / 1.24 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002021/0.5214, allocations: 455.4 kB / 1.24 GB, free: 9.168 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004781/0.5219, allocations: 180.2 kB / 1.24 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003683/0.5256, allocations: 1.198 MB / 1.241 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.5257, allocations: 0 / 1.241 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009335/0.5266, allocations: 290.9 kB / 1.242 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00388/0.5305, allocations: 463.8 kB / 1.242 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005561/0.5361, allocations: 1.998 MB / 1.244 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/0.5374, allocations: 1.181 MB / 1.245 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001646/0.539, allocations: 311.6 kB / 1.246 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/0.5393, allocations: 59.44 kB / 1.246 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/0.5393, allocations: 0 / 1.246 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of Templates: time 0.552/1.091, allocations: 17.94 MB / 1.263 GB, free: 187.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches