Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling.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.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemIn.T|senTemOut.T|senTemInNoGro.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling") translateModel(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemIn.T|senTemOut.T|senTemInNoGro.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001235/0.001235, allocations: 172.7 kB / 15.95 MB, free: 208 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.5/1.5, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.843/2.843, allocations: 462.6 MB / 0.736 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004386/0.0004388, allocations: 9.969 kB / 0.9021 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.459/0.4594, allocations: 159.6 MB / 1.058 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling): time 0.118/0.5775, allocations: 107.4 MB / 1.163 GB, free: 9.602 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.04179/0.6193, allocations: 25.71 MB / 1.188 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006198/0.6256, allocations: 103.4 kB / 1.188 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.005024/0.6307, allocations: 1.044 MB / 1.189 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01401/0.6447, allocations: 3.536 MB / 1.193 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.009129/0.6538, allocations: 2.189 MB / 1.195 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01581/0.6697, allocations: 9.596 MB / 1.204 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004817/0.6745, allocations: 1.995 MB / 1.206 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008304/0.6829, allocations: 2.66 MB / 1.209 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005967/0.6889, allocations: 2.229 MB / 1.211 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001084/0.69, allocations: 132 kB / 1.211 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009866/0.6999, allocations: 2.253 MB / 1.213 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001988/0.7019, allocations: 0.6029 MB / 1.214 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002091/0.704, allocations: 0.6524 MB / 1.214 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.008911/0.713, allocations: 4.36 MB / 1.219 GB, free: 384 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.713, allocations: 4 kB / 1.219 GB, free: 380 kB / 0.9669 GB Notification: Performance of FrontEnd: time 3.887e-06/0.713, allocations: 0 / 1.219 GB, free: 380 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001382/0.7132, allocations: 0 / 1.219 GB, free: 380 kB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 0.009515/0.7227, allocations: 3.393 MB / 1.222 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.7228, allocations: 12.03 kB / 1.222 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/0.7241, allocations: 356 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00661/0.7308, allocations: 2.846 MB / 1.225 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.7309, allocations: 143.5 kB / 1.225 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003321/0.7313, allocations: 195.9 kB / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003673/0.7349, allocations: 2.017 MB / 1.227 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.384e-05/0.735, allocations: 7.938 kB / 1.227 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/0.7352, allocations: 76 kB / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.753e-05/0.7353, allocations: 44 kB / 1.227 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002682/0.738, allocations: 1.465 MB / 1.229 GB, free: 5.598 MB / 0.9825 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.01961/0.7576, allocations: 11.66 MB / 1.24 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002862/0.7605, allocations: 1.161 MB / 1.241 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009608/0.7615, allocations: 0.5743 MB / 1.242 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002998/0.7645, allocations: 2.973 MB / 1.245 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.334e-05/0.7646, allocations: 55.52 kB / 1.245 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=118): time 4.158e-06/0.7646, allocations: 0 / 1.245 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118): time 0.006142/0.7707, allocations: 2.13 MB / 1.247 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.354e-05/0.7709, allocations: 68.34 kB / 1.247 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8355/1.606, allocations: 2.141 MB / 1.249 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006765/1.607, allocations: 54.14 kB / 1.249 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001532/1.609, allocations: 1.22 MB / 1.25 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007928/1.609, allocations: 430.8 kB / 1.251 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/1.61, allocations: 33.94 kB / 1.251 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001803/1.61, allocations: 376 kB / 1.251 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/1.611, allocations: 0.7335 MB / 1.252 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001794/1.613, allocations: 1.224 MB / 1.253 GB, free: 180 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/1.615, allocations: 0.909 MB / 1.254 GB, free: 180 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/1.615, allocations: 5.75 kB / 1.254 GB, free: 180 MB / 0.9981 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005044/1.62, allocations: 2.482 MB / 1.256 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003569/1.62, allocations: 464.3 kB / 1.257 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.297e-05/1.62, allocations: 20.31 kB / 1.257 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/1.621, allocations: 244.7 kB / 1.257 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/1.623, allocations: 401.6 kB / 1.258 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008122/1.624, allocations: 1.246 MB / 1.259 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003477/1.627, allocations: 404.5 kB / 1.259 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/1.627, allocations: 87.77 kB / 1.259 GB, free: 178 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/1.627, allocations: 2.844 kB / 1.259 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004594/1.632, allocations: 2.227 MB / 1.261 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.783e-05/1.632, allocations: 18.83 kB / 1.261 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/1.633, allocations: 244.5 kB / 1.262 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/1.634, allocations: 398 kB / 1.262 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007942/1.635, allocations: 1.25 MB / 1.263 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003564/1.639, allocations: 378.1 kB / 1.264 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002738/1.639, allocations: 87.12 kB / 1.264 GB, free: 176.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (202): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001824/1.641, allocations: 0.6298 MB / 1.264 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009045/1.642, allocations: 249.7 kB / 1.265 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005666/1.647, allocations: 2.319 MB / 1.267 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.455e-05/1.648, allocations: 24.28 kB / 1.267 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/1.648, allocations: 2.094 kB / 1.267 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003362/1.651, allocations: 1.746 MB / 1.269 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01233/1.663, allocations: 5.166 MB / 1.274 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.29e-05/1.663, allocations: 15.16 kB / 1.274 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/1.664, allocations: 278.3 kB / 1.274 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006623/1.665, allocations: 187.9 kB / 1.274 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001543/1.665, allocations: 62.5 kB / 1.274 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008354/1.666, allocations: 1.23 MB / 1.275 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.531e-05/1.666, allocations: 14.97 kB / 1.275 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006242/1.672, allocations: 3.239 MB / 1.278 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002268/1.675, allocations: 0.6289 MB / 1.279 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005227/1.675, allocations: 54.45 kB / 1.279 GB, free: 171 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001911/1.677, allocations: 202.6 kB / 1.279 GB, free: 171 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003468/1.678, allocations: 159.3 kB / 1.28 GB, free: 171 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/1.678, allocations: 83.39 kB / 1.28 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002881/1.681, allocations: 1.429 MB / 1.281 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.51e-07/1.681, allocations: 0 / 1.281 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.007546/1.688, allocations: 1.732 MB / 1.283 GB, free: 170.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 13 (pipeGroundCoupling.groActLay[1].T[1],pipeGroundCoupling.groActLay[1].T[2],pipeGroundCoupling.groActLay[1].T[3],pipeGroundCoupling.groActLay[1].T[4],pipeGroundCoupling.groActLay[1].T[5],pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoGro.del.x,pipNoGro.timDel.x,pipNoGro.vol_b.dynBal.U,pipNoGro.vol_a.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002471/1.691, allocations: 0.9487 MB / 1.284 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00706/1.698, allocations: 3.064 MB / 1.287 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.049e-05/1.698, allocations: 2.594 kB / 1.287 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002306/1.7, allocations: 1.125 MB / 1.288 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008231/1.708, allocations: 1.314 MB / 1.289 GB, free: 168 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/1.718, allocations: 6.551 MB / 1.295 GB, free: 164 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/1.72, allocations: 1.757 MB / 1.297 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003738/1.724, allocations: 0.8696 MB / 1.298 GB, free: 163 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006319/1.724, allocations: 238.9 kB / 1.298 GB, free: 163 MB / 0.9981 GB Notification: Performance of SimCode: time 1.843e-06/1.724, allocations: 0 / 1.298 GB, free: 163 MB / 0.9981 GB Notification: Performance of Templates: time 0.09729/1.821, allocations: 60.99 MB / 1.358 GB, free: 106.7 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_BuriedPipes_Examples_PipeGroundCoupling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches