Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.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.Examples.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pip.vol.1..T|pip.vol.5..T|pip.vol.10..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pip.vol.1..T|pip.vol.5..T|pip.vol.10..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001038, allocations: 98.27 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.007652/0.007652, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.458/1.458, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.952/2.952, allocations: 462.6 MB / 0.7363 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003493, allocations: 10.81 kB / 0.9027 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3365, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.04473/0.3813, allocations: 44.81 MB / 1.102 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01853/0.3999, allocations: 11.45 MB / 1.114 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002363/0.4023, allocations: 59.56 kB / 1.114 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002113/0.4044, allocations: 0.5555 MB / 1.114 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.008319/0.4128, allocations: 2.06 MB / 1.116 GB, free: 9.871 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004388/0.4172, allocations: 1.367 MB / 1.117 GB, free: 8.516 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.03926/0.4564, allocations: 29.35 MB / 1.146 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01845/0.475, allocations: 7.319 MB / 1.153 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01685/0.4919, allocations: 5.383 MB / 1.159 GB, free: 14.28 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01307/0.505, allocations: 5.615 MB / 1.164 GB, free: 8.641 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002367/0.5074, allocations: 292 kB / 1.164 GB, free: 8.355 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007047/0.5145, allocations: 1.396 MB / 1.166 GB, free: 6.957 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.004264/0.5188, allocations: 1.427 MB / 1.167 GB, free: 5.523 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.009951/0.5288, allocations: 3.752 MB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.018/0.5468, allocations: 12.22 MB / 1.183 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.5469, allocations: 0 / 1.183 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5469, allocations: 0 / 1.183 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0005614/0.5474, allocations: 0 / 1.183 GB, free: 5.488 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: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01852/0.566, allocations: 6.654 MB / 1.189 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.112e-05/0.5661, allocations: 12.03 kB / 1.189 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007196/0.5733, allocations: 0.8586 MB / 1.19 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02602/0.5993, allocations: 7.794 MB / 1.198 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007759/0.6001, allocations: 415.9 kB / 1.198 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002344/0.6025, allocations: 0.5154 MB / 1.199 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02617/0.6287, allocations: 7.671 MB / 1.206 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003391/0.6291, allocations: 27.78 kB / 1.206 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001881/0.631, allocations: 224 kB / 1.206 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002518/0.6312, allocations: 171.8 kB / 1.206 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01999/0.6512, allocations: 6.079 MB / 1.212 GB, free: 6.594 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.05399/0.7053, allocations: 29.3 MB / 1.241 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005259/0.7106, allocations: 3.4 MB / 1.244 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002881/0.7135, allocations: 1.96 MB / 1.246 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/0.7145, allocations: 1.002 MB / 1.247 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.163e-05/0.7146, allocations: 81.05 kB / 1.247 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=253): time 5.53e-06/0.7147, allocations: 0 / 1.247 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of matching and sorting (n=253): time 0.7536/1.468, allocations: 4.704 MB / 1.252 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/1.468, allocations: 77.94 kB / 1.252 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01049/1.479, allocations: 6.153 MB / 1.258 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006464/1.48, allocations: 84.89 kB / 1.258 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003204/1.483, allocations: 2.981 MB / 1.261 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001518/1.484, allocations: 0.8967 MB / 1.262 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007632/1.485, allocations: 288.4 kB / 1.262 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.043e-05/1.485, allocations: 301.9 kB / 1.262 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003352/1.489, allocations: 1.635 MB / 1.264 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004265/1.493, allocations: 2.688 MB / 1.267 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00819/1.501, allocations: 4.601 MB / 1.271 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.877e-05/1.501, allocations: 9.375 kB / 1.271 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01217/1.513, allocations: 4.974 MB / 1.276 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006775/1.514, allocations: 1.037 MB / 1.277 GB, free: 164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.751e-05/1.514, allocations: 30.25 kB / 1.277 GB, free: 164 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001377/1.514, allocations: 50.22 kB / 1.277 GB, free: 164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003834/1.518, allocations: 0.8134 MB / 1.278 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008977/1.519, allocations: 1.25 MB / 1.279 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006917/1.526, allocations: 0.6125 MB / 1.28 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009143/1.527, allocations: 159.2 kB / 1.28 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.527, allocations: 3.719 kB / 1.28 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01221/1.539, allocations: 4.453 MB / 1.284 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001512/1.539, allocations: 32.5 kB / 1.284 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001302/1.54, allocations: 50.31 kB / 1.284 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003624/1.543, allocations: 0.7797 MB / 1.285 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001784/1.543, allocations: 72.5 kB / 1.285 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006256/1.55, allocations: 0.5599 MB / 1.286 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008403/1.55, allocations: 159 kB / 1.286 GB, free: 160.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005158/1.556, allocations: 2.528 MB / 1.288 GB, free: 159.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002037/1.558, allocations: 0.558 MB / 1.289 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007482/1.565, allocations: 3.919 MB / 1.293 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.908e-05/1.565, allocations: 31.47 kB / 1.293 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/1.565, allocations: 3.938 kB / 1.293 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004139/1.569, allocations: 3.001 MB / 1.296 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01895/1.588, allocations: 9.76 MB / 1.305 GB, free: 151 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/1.588, allocations: 3.781 kB / 1.305 GB, free: 151 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002335/1.591, allocations: 0.5915 MB / 1.306 GB, free: 150.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.296e-05/1.591, allocations: 15.12 kB / 1.306 GB, free: 150.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003146/1.591, allocations: 78.08 kB / 1.306 GB, free: 150.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004358/1.592, allocations: 1.193 MB / 1.307 GB, free: 149.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.592, allocations: 0.75 kB / 1.307 GB, free: 149.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00773/1.599, allocations: 5.651 MB / 1.312 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003089/1.603, allocations: 1.318 MB / 1.314 GB, free: 142.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00143/1.604, allocations: 59.98 kB / 1.314 GB, free: 142.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004557/1.609, allocations: 394.5 kB / 1.314 GB, free: 142.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002759/1.609, allocations: 153.7 kB / 1.314 GB, free: 142.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003698/1.609, allocations: 144.4 kB / 1.314 GB, free: 142.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.006919/1.616, allocations: 4.347 MB / 1.319 GB, free: 137.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.61e-07/1.616, allocations: 0 / 1.319 GB, free: 137.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.01114/1.627, allocations: 3.239 MB / 1.322 GB, free: 134.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].dynBal.U,senTem.T,senTem1.T) * 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 (259): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001504/1.629, allocations: 497.1 kB / 1.322 GB, free: 134.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009522/1.638, allocations: 6.029 MB / 1.328 GB, free: 128.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/1.638, allocations: 8.625 kB / 1.328 GB, free: 128.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002377/1.641, allocations: 1.596 MB / 1.33 GB, free: 126.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0221/1.663, allocations: 3.953 MB / 1.334 GB, free: 122.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02552/1.689, allocations: 16.46 MB / 1.35 GB, free: 106.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004859/1.693, allocations: 4.556 MB / 1.354 GB, free: 101.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.009855/1.703, allocations: 2.866 MB / 1.357 GB, free: 98.67 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00196/1.705, allocations: 471.2 kB / 1.357 GB, free: 98.21 MB / 0.9981 GB Notification: Performance of SimCode: time 9.22e-07/1.705, allocations: 0 / 1.357 GB, free: 98.21 MB / 0.9981 GB Notification: Performance of Templates: time 0.1878/1.893, allocations: 128.3 MB / 1.483 GB, free: 3.141 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_Pipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches