Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.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.001559/0.001559, allocations: 110.6 kB / 17.08 MB, free: 5.984 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.002447/0.002447, allocations: 191.7 kB / 20.03 MB, free: 3.059 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: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.927/2.927, allocations: 489.3 MB / 0.7687 GB, free: 3.797 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 71.89 kB / 1.103 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.019, allocations: 163.8 MB / 1.263 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01585/1.035, allocations: 14.47 MB / 1.277 GB, free: 13.86 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006403/1.041, allocations: 3.644 MB / 1.28 GB, free: 11.27 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007146/1.042, allocations: 15.84 kB / 1.28 GB, free: 11.26 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007385/1.043, allocations: 205.2 kB / 1.28 GB, free: 11.14 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001714/1.045, allocations: 0.5805 MB / 1.281 GB, free: 10.8 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/1.046, allocations: 400.8 kB / 1.281 GB, free: 10.58 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001683/1.047, allocations: 1.092 MB / 1.282 GB, free: 10.06 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005361/1.048, allocations: 311.4 kB / 1.283 GB, free: 9.918 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/1.049, allocations: 421.9 kB / 1.283 GB, free: 9.73 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004818/1.05, allocations: 309.2 kB / 1.283 GB, free: 9.59 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.831e-05/1.05, allocations: 32.38 kB / 1.284 GB, free: 9.59 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000735/1.051, allocations: 264 kB / 1.284 GB, free: 9.484 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001446/1.051, allocations: 94.56 kB / 1.284 GB, free: 9.43 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00026/1.051, allocations: 218.1 kB / 1.284 GB, free: 9.301 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001016/1.052, allocations: 0.5904 MB / 1.285 GB, free: 9.074 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/1.052, allocations: 0 / 1.285 GB, free: 9.074 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.573e-06/1.052, allocations: 0 / 1.285 GB, free: 9.074 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.446e-06/1.052, allocations: 0 / 1.285 GB, free: 9.074 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001308/1.053, allocations: 0.7648 MB / 1.285 GB, free: 8.453 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/1.053, allocations: 9.484 kB / 1.285 GB, free: 8.453 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/1.054, allocations: 46.78 kB / 1.285 GB, free: 8.434 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007999/1.054, allocations: 470.9 kB / 1.286 GB, free: 8.094 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/1.054, allocations: 23.73 kB / 1.286 GB, free: 8.082 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-05/1.055, allocations: 35.83 kB / 1.286 GB, free: 8.066 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006416/1.055, allocations: 306.8 kB / 1.286 GB, free: 7.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/1.055, allocations: 1.062 kB / 1.286 GB, free: 7.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/1.055, allocations: 12.09 kB / 1.286 GB, free: 7.902 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/1.055, allocations: 6.75 kB / 1.286 GB, free: 7.902 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004964/1.056, allocations: 199.4 kB / 1.286 GB, free: 7.832 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.002039/1.058, allocations: 1.489 MB / 1.288 GB, free: 6.637 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000458/1.058, allocations: 152.7 kB / 1.288 GB, free: 6.574 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/1.058, allocations: 71.23 kB / 1.288 GB, free: 6.547 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/1.059, allocations: 83.34 kB / 1.288 GB, free: 6.453 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000316/1.059, allocations: 135.6 kB / 1.288 GB, free: 6.379 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/1.059, allocations: 0 / 1.288 GB, free: 6.379 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0006575/1.06, allocations: 226.1 kB / 1.289 GB, free: 6.289 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/1.06, allocations: 62.56 kB / 1.289 GB, free: 6.219 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004147/1.06, allocations: 356.9 kB / 1.289 GB, free: 6.035 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/1.06, allocations: 29.7 kB / 1.289 GB, free: 6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/1.06, allocations: 213.5 kB / 1.289 GB, free: 5.824 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/1.06, allocations: 54.98 kB / 1.289 GB, free: 5.781 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.944e-05/1.061, allocations: 55.45 kB / 1.289 GB, free: 5.746 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001728/1.061, allocations: 339.7 kB / 1.29 GB, free: 5.422 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/1.061, allocations: 76.3 kB / 1.29 GB, free: 5.395 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/1.061, allocations: 150.4 kB / 1.29 GB, free: 5.277 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004507/1.062, allocations: 257.6 kB / 1.29 GB, free: 5.086 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.062, allocations: 0 / 1.29 GB, free: 5.086 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006521/1.062, allocations: 309.4 kB / 1.29 GB, free: 4.934 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.345e-05/1.062, allocations: 39.92 kB / 1.29 GB, free: 4.898 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/1.062, allocations: 3.938 kB / 1.29 GB, free: 4.898 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/1.062, allocations: 7.25 kB / 1.29 GB, free: 4.895 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/1.063, allocations: 58.92 kB / 1.29 GB, free: 4.887 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/1.063, allocations: 8.984 kB / 1.29 GB, free: 4.883 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/1.063, allocations: 35.78 kB / 1.29 GB, free: 4.863 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/1.063, allocations: 12.69 kB / 1.291 GB, free: 4.859 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.0001842/1.063, allocations: 158.2 kB / 1.291 GB, free: 4.719 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/1.063, allocations: 31.53 kB / 1.291 GB, free: 4.703 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005081/1.064, allocations: 201.2 kB / 1.291 GB, free: 4.605 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/1.064, allocations: 6.5 kB / 1.291 GB, free: 4.602 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.064, allocations: 0.6562 kB / 1.291 GB, free: 4.602 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005749/1.064, allocations: 479.4 kB / 1.291 GB, free: 4.137 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005382/1.065, allocations: 358.5 kB / 1.292 GB, free: 3.875 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.065, allocations: 1.062 kB / 1.292 GB, free: 3.875 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/1.065, allocations: 36.53 kB / 1.292 GB, free: 3.867 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/1.065, allocations: 0.8438 kB / 1.292 GB, free: 3.867 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/1.065, allocations: 6.25 kB / 1.292 GB, free: 3.863 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/1.065, allocations: 5 kB / 1.292 GB, free: 3.859 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.065, allocations: 1.156 kB / 1.292 GB, free: 3.859 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006694/1.066, allocations: 285.9 kB / 1.292 GB, free: 3.715 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/1.066, allocations: 127 kB / 1.292 GB, free: 3.594 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/1.066, allocations: 1.891 kB / 1.292 GB, free: 3.594 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/1.066, allocations: 21.17 kB / 1.292 GB, free: 3.586 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/1.066, allocations: 17.19 kB / 1.292 GB, free: 3.582 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/1.066, allocations: 6.984 kB / 1.292 GB, free: 3.582 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002965/1.067, allocations: 250.2 kB / 1.292 GB, free: 3.445 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.803e-06/1.067, allocations: 0 / 1.292 GB, free: 3.445 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004842/1.067, allocations: 129.4 kB / 1.293 GB, free: 3.414 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004134/1.068, allocations: 207.1 kB / 1.293 GB, free: 3.277 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005435/1.068, allocations: 224 kB / 1.293 GB, free: 3.172 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.068, allocations: 0.75 kB / 1.293 GB, free: 3.172 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/1.068, allocations: 71.84 kB / 1.293 GB, free: 3.152 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009915/1.069, allocations: 207.1 kB / 1.293 GB, free: 3.098 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/1.071, allocations: 0.7718 MB / 1.294 GB, free: 2.582 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/1.071, allocations: 0.7923 MB / 1.295 GB, free: 1.875 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/1.072, allocations: 38.14 kB / 1.295 GB, free: 1.863 MB / 1.014 GB Notification: Performance of SimCode: time 2.4e-07/1.072, allocations: 1.375 kB / 1.295 GB, free: 1.863 MB / 1.014 GB Notification: Performance of Templates: time 0.01231/1.084, allocations: 6.174 MB / 1.301 GB, free: 1.105 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.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: 12.385449588065967]