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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009536/0.0009536, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009187/0.0009187, allocations: 173.4 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9949/0.9949, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.46/2.46, allocations: 438.8 MB / 0.6826 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.723e-06/1.723e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.27e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.007349/0.007372, allocations: 7.248 MB / 0.8456 GB, free: 6.914 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003747/0.01112, allocations: 2.504 MB / 0.8481 GB, free: 4.406 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004357/0.01155, allocations: 27.75 kB / 0.8481 GB, free: 4.379 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004316/0.01199, allocations: 127.1 kB / 0.8482 GB, free: 4.254 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.01309, allocations: 0.5321 MB / 0.8488 GB, free: 3.719 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000685/0.01378, allocations: 379 kB / 0.8491 GB, free: 3.348 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001242/0.01502, allocations: 1.09 MB / 0.8502 GB, free: 2.254 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004305/0.01545, allocations: 281.7 kB / 0.8504 GB, free: 1.977 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.01651, allocations: 0.5548 MB / 0.851 GB, free: 1.434 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004295/0.01694, allocations: 267.1 kB / 0.8512 GB, free: 1.172 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.083e-05/0.01699, allocations: 35.94 kB / 0.8513 GB, free: 1.137 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003047/0.0173, allocations: 131.7 kB / 0.8514 GB, free: 1.008 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.127e-05/0.01739, allocations: 103.6 kB / 0.8515 GB, free: 0.9062 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.01753, allocations: 151.6 kB / 0.8516 GB, free: 0.7578 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005405/0.01807, allocations: 406.6 kB / 0.852 GB, free: 368 kB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.01807, allocations: 0 / 0.852 GB, free: 368 kB / 0.8073 GB Notification: Performance of FrontEnd: time 1.002e-06/0.01807, allocations: 0 / 0.852 GB, free: 368 kB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.01808, allocations: 3.938 kB / 0.852 GB, free: 364 kB / 0.8073 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.0007825/0.01886, allocations: 0.6331 MB / 0.8527 GB, free: 15.69 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.0189, allocations: 8.625 kB / 0.8527 GB, free: 15.68 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.01906, allocations: 64.81 kB / 0.8527 GB, free: 15.62 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.01945, allocations: 300.3 kB / 0.853 GB, free: 15.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.01947, allocations: 24.86 kB / 0.853 GB, free: 15.27 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/0.01952, allocations: 36.33 kB / 0.8531 GB, free: 15.24 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.01985, allocations: 355.8 kB / 0.8534 GB, free: 14.84 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.01986, allocations: 0 / 0.8534 GB, free: 14.84 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.01988, allocations: 12 kB / 0.8534 GB, free: 14.83 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/0.01991, allocations: 4 kB / 0.8534 GB, free: 14.82 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.02002, allocations: 77.39 kB / 0.8535 GB, free: 14.75 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009399/0.02096, allocations: 0.9267 MB / 0.8544 GB, free: 13.78 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.02112, allocations: 70.53 kB / 0.8545 GB, free: 13.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.02122, allocations: 28.84 kB / 0.8545 GB, free: 13.67 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.588e-05/0.02128, allocations: 12.23 kB / 0.8545 GB, free: 13.66 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.02144, allocations: 194.1 kB / 0.8547 GB, free: 13.43 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 2.175e-06/0.02144, allocations: 3.938 kB / 0.8547 GB, free: 13.43 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.0001765/0.02162, allocations: 112.2 kB / 0.8548 GB, free: 13.31 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.02165, allocations: 59.41 kB / 0.8549 GB, free: 13.24 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.02183, allocations: 300.5 kB / 0.8551 GB, free: 12.93 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.02185, allocations: 25.7 kB / 0.8552 GB, free: 12.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.211e-05/0.02193, allocations: 197 kB / 0.8554 GB, free: 12.71 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.02197, allocations: 55.58 kB / 0.8554 GB, free: 12.65 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.797e-05/0.02202, allocations: 49.67 kB / 0.8555 GB, free: 12.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.645e-05/0.02211, allocations: 358.6 kB / 0.8558 GB, free: 12.24 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.692e-05/0.02216, allocations: 49.69 kB / 0.8559 GB, free: 12.18 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.417e-05/0.02223, allocations: 127.1 kB / 0.856 GB, free: 12.02 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.02248, allocations: 175.6 kB / 0.8561 GB, free: 11.81 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.02248, allocations: 0 / 0.8561 GB, free: 11.81 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001766/0.02266, allocations: 214.3 kB / 0.8563 GB, free: 11.58 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.02269, allocations: 37.7 kB / 0.8564 GB, free: 11.54 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.0227, allocations: 4 kB / 0.8564 GB, free: 11.54 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.02271, allocations: 4 kB / 0.8564 GB, free: 11.53 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.02284, allocations: 51.91 kB / 0.8564 GB, free: 11.48 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.02284, allocations: 7.938 kB / 0.8564 GB, free: 11.47 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.02296, allocations: 36.08 kB / 0.8565 GB, free: 11.44 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.02298, allocations: 16 kB / 0.8565 GB, free: 11.42 MB / 0.823 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 8.725e-05/0.02307, allocations: 128.5 kB / 0.8566 GB, free: 11.29 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.02309, allocations: 27.97 kB / 0.8566 GB, free: 11.26 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.02324, allocations: 104.5 kB / 0.8567 GB, free: 11.15 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.02324, allocations: 4 kB / 0.8567 GB, free: 11.14 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.02324, allocations: 0 / 0.8567 GB, free: 11.14 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001535/0.02339, allocations: 407.7 kB / 0.8571 GB, free: 10.66 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.02359, allocations: 168.5 kB / 0.8573 GB, free: 10.48 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.0236, allocations: 0 / 0.8573 GB, free: 10.48 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.829e-05/0.02367, allocations: 27.98 kB / 0.8573 GB, free: 10.45 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.02368, allocations: 4 kB / 0.8573 GB, free: 10.45 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.02369, allocations: 7.984 kB / 0.8573 GB, free: 10.44 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.02369, allocations: 4 kB / 0.8573 GB, free: 10.43 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.02369, allocations: 3.938 kB / 0.8573 GB, free: 10.43 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.02387, allocations: 165.8 kB / 0.8575 GB, free: 10.25 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.265e-05/0.02393, allocations: 31.81 kB / 0.8575 GB, free: 10.22 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.02395, allocations: 3.984 kB / 0.8575 GB, free: 10.21 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.517e-05/0.02405, allocations: 15.98 kB / 0.8575 GB, free: 10.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.02409, allocations: 15.92 kB / 0.8576 GB, free: 10.18 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.0241, allocations: 11.98 kB / 0.8576 GB, free: 10.17 MB / 0.823 GB Notification: Performance of sorting global known variables: time 8.498e-05/0.02419, allocations: 115.4 kB / 0.8577 GB, free: 10.05 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.02419, allocations: 0 / 0.8577 GB, free: 10.05 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002389/0.02443, allocations: 111.8 kB / 0.8578 GB, free: 9.945 MB / 0.823 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.0002022/0.02463, allocations: 128.3 kB / 0.8579 GB, free: 9.812 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001694/0.0248, allocations: 173.7 kB / 0.8581 GB, free: 9.621 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.0248, allocations: 4 kB / 0.8581 GB, free: 9.617 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.972e-05/0.02485, allocations: 40.78 kB / 0.8581 GB, free: 9.574 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.0253, allocations: 209.6 kB / 0.8583 GB, free: 9.379 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.0263, allocations: 0.6047 MB / 0.8589 GB, free: 8.742 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.155e-05/0.02635, allocations: 92.61 kB / 0.859 GB, free: 8.633 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001398/0.02649, allocations: 51.22 kB / 0.8591 GB, free: 8.582 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.02674, allocations: 177.2 kB / 0.8592 GB, free: 8.41 MB / 0.823 GB Notification: Performance of SimCode: time 8.92e-07/0.02674, allocations: 0 / 0.8592 GB, free: 8.41 MB / 0.823 GB Notification: Performance of Templates: time 0.009581/0.03632, allocations: 7.269 MB / 0.8663 GB, free: 1.328 MB / 0.823 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.680630310904235]