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.001763/0.001763, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001952/0.001952, allocations: 186 kB / 20.78 MB, free: 1.547 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.519/1.519, allocations: 225.6 MB / 249.4 MB, free: 3.168 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.98/2.98, allocations: 496.2 MB / 0.7819 GB, free: 12.27 MB / 0.6231 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.001993/0.001993, allocations: 63.91 kB / 1.136 GB, free: 12.48 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.053, allocations: 173.6 MB / 1.305 GB, free: 33.46 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01359/1.066, allocations: 14.71 MB / 1.32 GB, free: 23.01 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005157/1.072, allocations: 3.676 MB / 1.323 GB, free: 20.4 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005666/1.072, allocations: 17.12 kB / 1.323 GB, free: 20.4 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006792/1.073, allocations: 213.2 kB / 1.324 GB, free: 20.28 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001538/1.074, allocations: 0.612 MB / 1.324 GB, free: 19.92 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/1.075, allocations: 408.6 kB / 1.325 GB, free: 19.69 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001072/1.076, allocations: 1.092 MB / 1.326 GB, free: 19.18 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003923/1.077, allocations: 258.1 kB / 1.326 GB, free: 19.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/1.078, allocations: 447.1 kB / 1.326 GB, free: 18.85 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005769/1.079, allocations: 330.4 kB / 1.327 GB, free: 18.7 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.05e-05/1.079, allocations: 31.59 kB / 1.327 GB, free: 18.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000733/1.08, allocations: 267.2 kB / 1.327 GB, free: 18.6 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/1.08, allocations: 99.05 kB / 1.327 GB, free: 18.54 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002124/1.08, allocations: 211.6 kB / 1.327 GB, free: 18.42 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008249/1.081, allocations: 0.5931 MB / 1.328 GB, free: 18.19 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.081, allocations: 0 / 1.328 GB, free: 18.19 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.313e-06/1.081, allocations: 0 / 1.328 GB, free: 18.19 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.598e-06/1.081, allocations: 3.938 kB / 1.328 GB, free: 18.19 MB / 1.061 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.001078/1.082, allocations: 0.7562 MB / 1.329 GB, free: 17.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.082, allocations: 10.59 kB / 1.329 GB, free: 17.57 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/1.082, allocations: 49.19 kB / 1.329 GB, free: 17.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006545/1.083, allocations: 471.6 kB / 1.329 GB, free: 17.21 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/1.083, allocations: 20.16 kB / 1.329 GB, free: 17.2 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.801e-05/1.083, allocations: 28.97 kB / 1.329 GB, free: 17.19 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005222/1.084, allocations: 313.3 kB / 1.329 GB, free: 17.03 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/1.084, allocations: 0 / 1.329 GB, free: 17.03 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/1.084, allocations: 14.75 kB / 1.329 GB, free: 17.02 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/1.084, allocations: 11.89 kB / 1.329 GB, free: 17.02 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004069/1.084, allocations: 190.5 kB / 1.33 GB, free: 16.96 MB / 1.061 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.001552/1.086, allocations: 1.49 MB / 1.331 GB, free: 15.76 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004152/1.086, allocations: 148.6 kB / 1.331 GB, free: 15.7 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/1.086, allocations: 65.31 kB / 1.331 GB, free: 15.67 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001352/1.086, allocations: 90.23 kB / 1.331 GB, free: 15.57 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000322/1.087, allocations: 127.4 kB / 1.331 GB, free: 15.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/1.087, allocations: 0 / 1.331 GB, free: 15.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.000715/1.087, allocations: 237.5 kB / 1.332 GB, free: 15.4 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/1.087, allocations: 57.72 kB / 1.332 GB, free: 15.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004418/1.088, allocations: 345.6 kB / 1.332 GB, free: 15.16 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/1.088, allocations: 35.83 kB / 1.332 GB, free: 15.12 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/1.088, allocations: 221.4 kB / 1.332 GB, free: 14.94 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.056e-05/1.088, allocations: 57.97 kB / 1.332 GB, free: 14.89 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/1.088, allocations: 56.92 kB / 1.332 GB, free: 14.86 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.901e-05/1.088, allocations: 339.5 kB / 1.333 GB, free: 14.53 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/1.088, allocations: 73.09 kB / 1.333 GB, free: 14.51 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/1.089, allocations: 144 kB / 1.333 GB, free: 14.39 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004491/1.089, allocations: 251.6 kB / 1.333 GB, free: 14.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.089, allocations: 0.625 kB / 1.333 GB, free: 14.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006757/1.09, allocations: 314.7 kB / 1.333 GB, free: 14.05 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.498e-05/1.09, allocations: 32.95 kB / 1.334 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/1.09, allocations: 6.781 kB / 1.334 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.913e-05/1.09, allocations: 8.156 kB / 1.334 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/1.09, allocations: 58.7 kB / 1.334 GB, free: 14.01 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/1.09, allocations: 8.062 kB / 1.334 GB, free: 14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/1.091, allocations: 34.34 kB / 1.334 GB, free: 13.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/1.091, allocations: 13.62 kB / 1.334 GB, free: 13.98 MB / 1.061 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.0001546/1.091, allocations: 160.7 kB / 1.334 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.052e-05/1.091, allocations: 32.28 kB / 1.334 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004752/1.091, allocations: 195.6 kB / 1.334 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/1.091, allocations: 5.375 kB / 1.334 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/1.091, allocations: 0.8438 kB / 1.334 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004269/1.092, allocations: 488.4 kB / 1.334 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/1.092, allocations: 351.1 kB / 1.335 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.092, allocations: 0 / 1.335 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/1.092, allocations: 33.98 kB / 1.335 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/1.092, allocations: 1.156 kB / 1.335 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/1.092, allocations: 5.156 kB / 1.335 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/1.092, allocations: 5.156 kB / 1.335 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.092, allocations: 0 / 1.335 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005888/1.093, allocations: 295.2 kB / 1.335 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/1.093, allocations: 124 kB / 1.335 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-05/1.093, allocations: 2.344 kB / 1.335 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/1.093, allocations: 22.66 kB / 1.335 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/1.093, allocations: 16.91 kB / 1.335 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/1.093, allocations: 9.312 kB / 1.335 GB, free: 12.7 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002362/1.094, allocations: 248.4 kB / 1.336 GB, free: 12.57 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.094, allocations: 3.938 kB / 1.336 GB, free: 12.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004667/1.094, allocations: 126.9 kB / 1.336 GB, free: 12.54 MB / 1.061 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.000332/1.094, allocations: 199 kB / 1.336 GB, free: 12.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004961/1.095, allocations: 219.7 kB / 1.336 GB, free: 12.3 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.095, allocations: 1.031 kB / 1.336 GB, free: 12.3 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002027/1.095, allocations: 63.92 kB / 1.336 GB, free: 12.29 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009656/1.096, allocations: 217.4 kB / 1.336 GB, free: 12.23 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/1.098, allocations: 0.7564 MB / 1.337 GB, free: 11.73 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/1.098, allocations: 0.7905 MB / 1.338 GB, free: 11.03 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003704/1.099, allocations: 59.67 kB / 1.338 GB, free: 11.02 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/1.099, allocations: 40.38 kB / 1.338 GB, free: 11 MB / 1.061 GB Notification: Performance of SimCode: time 1.423e-06/1.099, allocations: 0 / 1.338 GB, free: 11 MB / 1.061 GB Notification: Performance of Templates: time 0.01927/1.118, allocations: 7.282 MB / 1.345 GB, free: 10.33 MB / 1.061 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.75501181744039]