Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 202.1 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 250.9 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.829/2.829, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 68.92 kB / 1.109 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3392, allocations: 168.7 MB / 1.274 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2044/0.5436, allocations: 162 MB / 1.432 GB, free: 8.617 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.002191/0.5458, allocations: 0.9786 MB / 1.433 GB, free: 7.637 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.546, allocations: 7.938 kB / 1.433 GB, free: 7.629 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006234/0.5467, allocations: 159 kB / 1.433 GB, free: 7.473 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.5483, allocations: 0.6653 MB / 1.434 GB, free: 6.805 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006367/0.549, allocations: 232 kB / 1.434 GB, free: 6.582 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0007065/0.5497, allocations: 0.5188 MB / 1.435 GB, free: 6.062 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003224/0.55, allocations: 140.2 kB / 1.435 GB, free: 5.93 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004583/0.5504, allocations: 243.1 kB / 1.435 GB, free: 5.691 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.5507, allocations: 175.2 kB / 1.435 GB, free: 5.52 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.5507, allocations: 16 kB / 1.435 GB, free: 5.504 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009496/0.5517, allocations: 0.5805 MB / 1.436 GB, free: 4.922 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.5518, allocations: 83.72 kB / 1.436 GB, free: 4.84 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.5519, allocations: 119.5 kB / 1.436 GB, free: 4.723 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0007434/0.5527, allocations: 490.3 kB / 1.436 GB, free: 4.242 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5527, allocations: 0 / 1.436 GB, free: 4.242 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5527, allocations: 0 / 1.436 GB, free: 4.242 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.5527, allocations: 0 / 1.436 GB, free: 4.242 MB / 1.139 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.001614/0.5543, allocations: 0.5995 MB / 1.437 GB, free: 3.594 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.5543, allocations: 12.03 kB / 1.437 GB, free: 3.582 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002779/0.5546, allocations: 51.81 kB / 1.437 GB, free: 3.531 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005138/0.5551, allocations: 290.5 kB / 1.437 GB, free: 3.207 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.5552, allocations: 12.33 kB / 1.437 GB, free: 3.195 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.5552, allocations: 20 kB / 1.437 GB, free: 3.176 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/0.5557, allocations: 243.1 kB / 1.438 GB, free: 2.934 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.5557, allocations: 0 / 1.438 GB, free: 2.934 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.5558, allocations: 12 kB / 1.438 GB, free: 2.922 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/0.5558, allocations: 11.78 kB / 1.438 GB, free: 2.91 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005981/0.5564, allocations: 255.8 kB / 1.438 GB, free: 2.66 MB / 1.139 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.001413/0.5578, allocations: 0.8318 MB / 1.439 GB, free: 1.754 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/0.5582, allocations: 134.5 kB / 1.439 GB, free: 1.613 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.5584, allocations: 108.8 kB / 1.439 GB, free: 1.504 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002982/0.5587, allocations: 190.2 kB / 1.439 GB, free: 1.281 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.5587, allocations: 34.56 kB / 1.439 GB, free: 1.238 MB / 1.139 GB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.5587, allocations: 0 / 1.439 GB, free: 1.238 MB / 1.139 GB Notification: Performance of matching and sorting (n=14): time 0.0008846/0.5596, allocations: 301.3 kB / 1.439 GB, free: 0.9375 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.5597, allocations: 59.41 kB / 1.44 GB, free: 0.8672 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.5599, allocations: 240.9 kB / 1.44 GB, free: 0.625 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.56, allocations: 33.7 kB / 1.44 GB, free: 0.5859 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.5601, allocations: 128.4 kB / 1.44 GB, free: 468 kB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.976e-05/0.5601, allocations: 51.58 kB / 1.44 GB, free: 416 kB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.489e-05/0.5602, allocations: 41.59 kB / 1.44 GB, free: 368 kB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.5604, allocations: 326.8 kB / 1.44 GB, free: 32 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.5606, allocations: 79.88 kB / 1.44 GB, free: 15.95 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.5608, allocations: 106.4 kB / 1.441 GB, free: 15.84 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003751/0.5612, allocations: 169.1 kB / 1.441 GB, free: 15.67 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5612, allocations: 0 / 1.441 GB, free: 15.67 MB / 1.154 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004706/0.5617, allocations: 213.4 kB / 1.441 GB, free: 15.45 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.5617, allocations: 13.64 kB / 1.441 GB, free: 15.44 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.5617, allocations: 0 / 1.441 GB, free: 15.44 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.5617, allocations: 4 kB / 1.441 GB, free: 15.44 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.5619, allocations: 27.92 kB / 1.441 GB, free: 15.41 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.5619, allocations: 4 kB / 1.441 GB, free: 15.41 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.5621, allocations: 31.89 kB / 1.441 GB, free: 15.38 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.5622, allocations: 4 kB / 1.441 GB, free: 15.37 MB / 1.154 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.000146/0.5623, allocations: 149.7 kB / 1.441 GB, free: 15.21 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.5624, allocations: 23.8 kB / 1.441 GB, free: 15.19 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.432e-05/0.5624, allocations: 33.83 kB / 1.441 GB, free: 15.16 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.5624, allocations: 3.938 kB / 1.441 GB, free: 15.15 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5624, allocations: 4 kB / 1.441 GB, free: 15.15 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5624, allocations: 0 / 1.441 GB, free: 15.15 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.5636, allocations: 0.6719 MB / 1.442 GB, free: 14.4 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.5636, allocations: 4.219 kB / 1.442 GB, free: 14.39 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.5638, allocations: 31.92 kB / 1.442 GB, free: 14.36 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.5638, allocations: 4 kB / 1.442 GB, free: 14.36 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.5638, allocations: 11.98 kB / 1.442 GB, free: 14.35 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.5638, allocations: 4 kB / 1.442 GB, free: 14.34 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5638, allocations: 0 / 1.442 GB, free: 14.34 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005573/0.5644, allocations: 358.2 kB / 1.442 GB, free: 13.96 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.5645, allocations: 120.9 kB / 1.442 GB, free: 13.82 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.5645, allocations: 7.984 kB / 1.442 GB, free: 13.81 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.5647, allocations: 12 kB / 1.442 GB, free: 13.8 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.5648, allocations: 15.92 kB / 1.442 GB, free: 13.79 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.5648, allocations: 8 kB / 1.442 GB, free: 13.78 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001723/0.565, allocations: 176.5 kB / 1.443 GB, free: 13.6 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.565, allocations: 0 / 1.443 GB, free: 13.6 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003665/0.5653, allocations: 59.89 kB / 1.443 GB, free: 13.54 MB / 1.154 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.0004052/0.5657, allocations: 162.8 kB / 1.443 GB, free: 13.38 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004949/0.5662, allocations: 163.8 kB / 1.443 GB, free: 13.22 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5662, allocations: 3.938 kB / 1.443 GB, free: 13.22 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.5664, allocations: 87.88 kB / 1.443 GB, free: 13.13 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007868/0.5672, allocations: 133.5 kB / 1.443 GB, free: 13.01 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008211/0.5681, allocations: 459.6 kB / 1.444 GB, free: 12.51 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.5685, allocations: 0.7519 MB / 1.444 GB, free: 11.73 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001857/0.5686, allocations: 61.91 kB / 1.444 GB, free: 11.67 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.767e-05/0.5687, allocations: 23.44 kB / 1.444 GB, free: 11.65 MB / 1.154 GB Notification: Performance of SimCode: time 3.11e-07/0.5687, allocations: 0 / 1.444 GB, free: 11.65 MB / 1.154 GB Notification: Performance of Templates: time 0.009684/0.5784, allocations: 4.512 MB / 1.449 GB, free: 7.203 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.020376545842737]