Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009927/0.009927, allocations: 101.6 kB / 15.73 MB, free: 6.031 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.001366/0.001366, allocations: 187.4 kB / 16.67 MB, free: 5.969 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.599/1.599, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.855/2.855, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 67.25 kB / 0.9508 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3745, allocations: 140.4 MB / 1.088 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1804/0.5549, allocations: 161.3 MB / 1.245 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002238/0.5572, allocations: 0.9699 MB / 1.246 GB, free: 14.61 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002263/0.5574, allocations: 11.94 kB / 1.246 GB, free: 14.59 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006742/0.5581, allocations: 159 kB / 1.247 GB, free: 14.44 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.5599, allocations: 0.634 MB / 1.247 GB, free: 13.8 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006387/0.5606, allocations: 223.4 kB / 1.247 GB, free: 13.59 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006465/0.5612, allocations: 0.511 MB / 1.248 GB, free: 13.07 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003621/0.5616, allocations: 180.2 kB / 1.248 GB, free: 12.89 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004345/0.562, allocations: 239 kB / 1.248 GB, free: 12.66 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.5622, allocations: 155.4 kB / 1.248 GB, free: 12.51 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.5623, allocations: 16 kB / 1.248 GB, free: 12.49 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008638/0.5632, allocations: 0.5377 MB / 1.249 GB, free: 11.95 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.5633, allocations: 83.77 kB / 1.249 GB, free: 11.87 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.5634, allocations: 119.3 kB / 1.249 GB, free: 11.75 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007243/0.5641, allocations: 486.7 kB / 1.25 GB, free: 11.28 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.5642, allocations: 0 / 1.25 GB, free: 11.28 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5642, allocations: 4 kB / 1.25 GB, free: 11.27 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.5642, allocations: 0 / 1.25 GB, free: 11.27 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001516/0.5657, allocations: 0.6 MB / 1.25 GB, free: 10.62 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.5658, allocations: 8.031 kB / 1.25 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002762/0.5661, allocations: 59.58 kB / 1.25 GB, free: 10.56 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.5665, allocations: 282.4 kB / 1.251 GB, free: 10.24 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.5665, allocations: 12.33 kB / 1.251 GB, free: 10.23 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.5666, allocations: 16 kB / 1.251 GB, free: 10.21 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005002/0.5671, allocations: 239.1 kB / 1.251 GB, free: 9.977 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.5671, allocations: 3.984 kB / 1.251 GB, free: 9.973 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.5671, allocations: 4 kB / 1.251 GB, free: 9.969 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.5671, allocations: 11.98 kB / 1.251 GB, free: 9.957 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005468/0.5677, allocations: 247.8 kB / 1.251 GB, free: 9.715 MB / 1.014 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.001235/0.5689, allocations: 0.8353 MB / 1.252 GB, free: 8.805 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.5693, allocations: 142.4 kB / 1.252 GB, free: 8.656 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.5695, allocations: 116.9 kB / 1.252 GB, free: 8.539 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002473/0.5697, allocations: 182.2 kB / 1.252 GB, free: 8.324 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.5698, allocations: 42.5 kB / 1.252 GB, free: 8.273 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.5698, allocations: 0 / 1.252 GB, free: 8.273 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.000833/0.5706, allocations: 311.6 kB / 1.253 GB, free: 7.965 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.5707, allocations: 51.41 kB / 1.253 GB, free: 7.902 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.5709, allocations: 241 kB / 1.253 GB, free: 7.66 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.571, allocations: 33.7 kB / 1.253 GB, free: 7.621 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.774e-05/0.5711, allocations: 136.3 kB / 1.253 GB, free: 7.484 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.5711, allocations: 55.19 kB / 1.253 GB, free: 7.43 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-05/0.5712, allocations: 37.7 kB / 1.253 GB, free: 7.387 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.5713, allocations: 326.8 kB / 1.253 GB, free: 7.059 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.5715, allocations: 71.94 kB / 1.254 GB, free: 6.988 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.5717, allocations: 102.5 kB / 1.254 GB, free: 6.879 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.5721, allocations: 170.4 kB / 1.254 GB, free: 6.703 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5721, allocations: 0 / 1.254 GB, free: 6.703 MB / 1.014 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004548/0.5726, allocations: 217.4 kB / 1.254 GB, free: 6.484 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.5726, allocations: 13.66 kB / 1.254 GB, free: 6.473 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.5726, allocations: 0 / 1.254 GB, free: 6.473 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.5726, allocations: 0 / 1.254 GB, free: 6.473 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.5728, allocations: 27.98 kB / 1.254 GB, free: 6.445 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.5728, allocations: 3.984 kB / 1.254 GB, free: 6.441 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.573, allocations: 23.78 kB / 1.254 GB, free: 6.418 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.573, allocations: 11.98 kB / 1.254 GB, free: 6.406 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.5732, allocations: 141.8 kB / 1.254 GB, free: 6.258 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.323e-05/0.5732, allocations: 27.66 kB / 1.254 GB, free: 6.23 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.706e-05/0.5733, allocations: 33.83 kB / 1.254 GB, free: 6.199 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5734, allocations: 0 / 1.254 GB, free: 6.199 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.5734, allocations: 0 / 1.254 GB, free: 6.199 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.5734, allocations: 4 kB / 1.254 GB, free: 6.195 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.5745, allocations: 0.6756 MB / 1.255 GB, free: 5.441 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5745, allocations: 0 / 1.255 GB, free: 5.441 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.5747, allocations: 35.91 kB / 1.255 GB, free: 5.406 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/0.5747, allocations: 4.219 kB / 1.255 GB, free: 5.402 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.5747, allocations: 8 kB / 1.255 GB, free: 5.395 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.5747, allocations: 4 kB / 1.255 GB, free: 5.391 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.5747, allocations: 4 kB / 1.255 GB, free: 5.387 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004902/0.5752, allocations: 348.4 kB / 1.255 GB, free: 5.012 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.477e-05/0.5753, allocations: 120.7 kB / 1.255 GB, free: 4.875 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.5754, allocations: 4 kB / 1.255 GB, free: 4.871 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.5756, allocations: 19.97 kB / 1.255 GB, free: 4.852 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.5756, allocations: 23.84 kB / 1.256 GB, free: 4.828 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.5756, allocations: 4 kB / 1.256 GB, free: 4.824 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001774/0.5758, allocations: 176.5 kB / 1.256 GB, free: 4.652 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5758, allocations: 3.938 kB / 1.256 GB, free: 4.648 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003455/0.5762, allocations: 63.98 kB / 1.256 GB, free: 4.586 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003408/0.5765, allocations: 153 kB / 1.256 GB, free: 4.43 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000454/0.577, allocations: 175.8 kB / 1.256 GB, free: 4.258 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.577, allocations: 0 / 1.256 GB, free: 4.258 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.5772, allocations: 99.81 kB / 1.256 GB, free: 4.16 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007381/0.578, allocations: 125 kB / 1.256 GB, free: 4.043 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006988/0.5787, allocations: 439.9 kB / 1.257 GB, free: 3.566 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.579, allocations: 0.7519 MB / 1.257 GB, free: 2.789 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001855/0.5792, allocations: 65.89 kB / 1.257 GB, free: 2.727 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.163e-05/0.5793, allocations: 23.42 kB / 1.258 GB, free: 2.703 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/0.5793, allocations: 0 / 1.258 GB, free: 2.703 MB / 1.014 GB Notification: Performance of Templates: time 0.6297/1.209, allocations: 4.439 MB / 1.262 GB, free: 174.8 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches