Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.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.TwoPipesConduit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemInlSup.T|senTemOutSup.T|senTemOutRet.T|senTemInlRet.T|conAir.T|gro.ports.1|1..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit") translateModel(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemInlSup.T|senTemOutSup.T|senTemOutRet.T|senTemInlRet.T|conAir.T|gro.ports.1|1..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008063/0.0008063, 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.0009006/0.0009007, 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.455/1.455, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.937/2.937, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003846, allocations: 8.875 kB / 0.9021 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4455/0.4459, allocations: 159.6 MB / 1.058 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit): time 0.1111/0.557, allocations: 109.5 MB / 1.165 GB, free: 7.473 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.04371/0.6008, allocations: 26.3 MB / 1.191 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006488/0.6073, allocations: 107.3 kB / 1.191 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.005485/0.6128, allocations: 1.067 MB / 1.192 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0154/0.6283, allocations: 3.648 MB / 1.195 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.009216/0.6375, allocations: 2.258 MB / 1.198 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01469/0.6522, allocations: 9.582 MB / 1.207 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00426/0.6565, allocations: 1.933 MB / 1.209 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007723/0.6642, allocations: 2.714 MB / 1.211 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005416/0.6697, allocations: 2.166 MB / 1.214 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001198/0.6709, allocations: 120 kB / 1.214 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0108/0.6817, allocations: 2.304 MB / 1.216 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001579/0.6833, allocations: 0.5366 MB / 1.216 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002182/0.6855, allocations: 0.6369 MB / 1.217 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.008207/0.6937, allocations: 4.064 MB / 1.221 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.6938, allocations: 0 / 1.221 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.825e-06/0.6938, allocations: 0 / 1.221 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002031/0.694, allocations: 0 / 1.221 GB, free: 13.87 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 445 * Number of variables: 445 Notification: Performance of Generate backend data structure: time 0.008985/0.703, allocations: 3.088 MB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.703, allocations: 8.031 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.7048, allocations: 360 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007256/0.712, allocations: 2.502 MB / 1.227 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/0.7122, allocations: 143.5 kB / 1.227 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000603/0.7128, allocations: 191.8 kB / 1.227 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005066/0.7179, allocations: 1.916 MB / 1.229 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.512e-05/0.718, allocations: 0 / 1.229 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002582/0.7183, allocations: 76 kB / 1.229 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.117e-05/0.7184, allocations: 48 kB / 1.229 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003268/0.7216, allocations: 1.426 MB / 1.231 GB, free: 3.918 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.01608/0.7377, allocations: 9.873 MB / 1.24 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/0.7398, allocations: 1.013 MB / 1.241 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009787/0.7408, allocations: 0.5692 MB / 1.242 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002642/0.7434, allocations: 3.088 MB / 1.245 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.946e-05/0.7435, allocations: 43.56 kB / 1.245 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=127): time 4.599e-06/0.7435, allocations: 0 / 1.245 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of matching and sorting (n=127): time 0.004086/0.7476, allocations: 1.795 MB / 1.247 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.7477, allocations: 64.41 kB / 1.247 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7605/1.508, allocations: 2.162 MB / 1.249 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004336/1.509, allocations: 52.89 kB / 1.249 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001352/1.51, allocations: 1.182 MB / 1.25 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005672/1.511, allocations: 456.8 kB / 1.25 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.024e-05/1.511, allocations: 32.12 kB / 1.25 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.511, allocations: 366.1 kB / 1.251 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/1.512, allocations: 497.8 kB / 1.251 GB, free: 181 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/1.513, allocations: 0.8647 MB / 1.252 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/1.514, allocations: 0.6279 MB / 1.253 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/1.514, allocations: 2.844 kB / 1.253 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003819/1.518, allocations: 1.748 MB / 1.254 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002978/1.519, allocations: 371.5 kB / 1.255 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.464e-05/1.519, allocations: 21.2 kB / 1.255 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003765/1.519, allocations: 62.25 kB / 1.255 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/1.52, allocations: 344.4 kB / 1.255 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/1.521, allocations: 1.443 MB / 1.257 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/1.524, allocations: 256.9 kB / 1.257 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/1.524, allocations: 73.61 kB / 1.257 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/1.524, allocations: 5.375 kB / 1.257 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002368/1.526, allocations: 1.5 MB / 1.258 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/1.526, allocations: 12.81 kB / 1.258 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002127/1.527, allocations: 65.08 kB / 1.258 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/1.528, allocations: 344.8 kB / 1.259 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009997/1.529, allocations: 1.445 MB / 1.26 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/1.531, allocations: 229.9 kB / 1.26 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/1.531, allocations: 77.62 kB / 1.26 GB, free: 177.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (192): * Single equations (assignments): 186 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001287/1.533, allocations: 0.5832 MB / 1.261 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004207/1.533, allocations: 258.9 kB / 1.261 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004512/1.537, allocations: 2.201 MB / 1.263 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.945e-05/1.538, allocations: 24.41 kB / 1.263 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.538, allocations: 0 / 1.263 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002985/1.541, allocations: 1.602 MB / 1.265 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01206/1.553, allocations: 5.018 MB / 1.27 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-05/1.553, allocations: 13.14 kB / 1.27 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/1.554, allocations: 266.7 kB / 1.27 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003048/1.554, allocations: 69.67 kB / 1.27 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001559/1.554, allocations: 52.53 kB / 1.27 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/1.556, allocations: 1.428 MB / 1.272 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.679e-05/1.556, allocations: 11.83 kB / 1.272 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005772/1.562, allocations: 2.842 MB / 1.275 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001956/1.563, allocations: 0.6263 MB / 1.275 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003878/1.564, allocations: 41 kB / 1.275 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/1.565, allocations: 141.1 kB / 1.275 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003284/1.566, allocations: 136.2 kB / 1.275 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/1.566, allocations: 80.72 kB / 1.275 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003126/1.569, allocations: 1.569 MB / 1.277 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.569, allocations: 2.297 kB / 1.277 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005574/1.575, allocations: 1.563 MB / 1.279 GB, free: 171.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 14 (pipSup.del.x,pipSup.timDel.x,pipSup.vol_b.dynBal.U,pipSup.vol_a.dynBal.U,senTemInlSup.T,senTemOutSup.T,pipRet.del.x,pipRet.timDel.x,pipRet.vol_b.dynBal.U,pipRet.vol_a.dynBal.U,senTemOutRet.T,senTemInlRet.T,conAir.T,con.T[1]) * 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 (161): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 28 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002736/1.577, allocations: 0.9617 MB / 1.279 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005198/1.583, allocations: 2.647 MB / 1.282 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/1.583, allocations: 6 kB / 1.282 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002011/1.585, allocations: 1.106 MB / 1.283 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008201/1.593, allocations: 1.423 MB / 1.285 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009743/1.603, allocations: 6.246 MB / 1.291 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/1.604, allocations: 1.722 MB / 1.292 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003704/1.608, allocations: 0.7187 MB / 1.293 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006402/1.609, allocations: 245.2 kB / 1.293 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of SimCode: time 3.346e-06/1.609, allocations: 3.938 kB / 1.293 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.08912/1.698, allocations: 61.21 MB / 1.353 GB, free: 112 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_BuriedPipes_Examples_TwoPipesConduit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches