Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001468/0.001468, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001524/0.001524, allocations: 161 kB / 23.82 MB, free: 0.75 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.9671/0.9671, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.753/1.753, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Fluid.Storage.Examples.ExpansionVessel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 4 kB / 0.7871 GB, free: 11.39 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.625e-05, allocations: 2.312 kB / 0.7871 GB, free: 11.39 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.006791/0.006818, allocations: 7.249 MB / 0.7942 GB, free: 4.129 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003112/0.00993, allocations: 2.487 MB / 0.7966 GB, free: 1.652 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003613/0.01029, allocations: 23.81 kB / 0.7966 GB, free: 1.629 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004335/0.01072, allocations: 131.1 kB / 0.7967 GB, free: 1.5 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.01173, allocations: 0.5281 MB / 0.7973 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006035/0.01234, allocations: 362.9 kB / 0.7976 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001269/0.01361, allocations: 1.09 MB / 0.7987 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000413/0.01402, allocations: 273.1 kB / 0.7989 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008996/0.01492, allocations: 0.5403 MB / 0.7994 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003855/0.0153, allocations: 283.1 kB / 0.7997 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.845e-05/0.01535, allocations: 32 kB / 0.7997 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002662/0.01562, allocations: 135.7 kB / 0.7999 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.619e-05/0.0157, allocations: 104.9 kB / 0.8 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.01584, allocations: 147.6 kB / 0.8001 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006515/0.01649, allocations: 402.6 kB / 0.8005 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.0165, allocations: 0.5938 kB / 0.8005 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.452e-06/0.0165, allocations: 0 / 0.8005 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.01651, allocations: 0.8125 kB / 0.8005 GB, free: 13.64 MB / 0.7136 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.001075/0.01758, allocations: 0.7595 MB / 0.8012 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.01762, allocations: 12.03 kB / 0.8013 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.01784, allocations: 76.53 kB / 0.8013 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.0183, allocations: 359.3 kB / 0.8017 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.01832, allocations: 24.86 kB / 0.8017 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/0.01837, allocations: 28.38 kB / 0.8017 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.01883, allocations: 373.7 kB / 0.8021 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.01885, allocations: 3.953 kB / 0.8021 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.01888, allocations: 12 kB / 0.8021 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.375e-05/0.01891, allocations: 8 kB / 0.8021 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.0191, allocations: 98.8 kB / 0.8022 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.02034, allocations: 1.291 MB / 0.8035 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.02055, allocations: 95.06 kB / 0.8035 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/0.02061, allocations: 31.72 kB / 0.8036 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.826e-05/0.02069, allocations: 11.98 kB / 0.8036 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.02088, allocations: 202.3 kB / 0.8038 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.974e-06/0.02088, allocations: 2.5 kB / 0.8038 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0002927/0.02118, allocations: 153.3 kB / 0.8039 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.02121, allocations: 59.41 kB / 0.804 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.02144, allocations: 350.2 kB / 0.8043 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.02146, allocations: 33.7 kB / 0.8044 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.0216, allocations: 275.1 kB / 0.8046 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.02163, allocations: 56.47 kB / 0.8047 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.558e-05/0.0217, allocations: 55.36 kB / 0.8047 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.02185, allocations: 0.5157 MB / 0.8052 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.517e-05/0.02193, allocations: 58.8 kB / 0.8053 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.02205, allocations: 162.2 kB / 0.8054 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.02223, allocations: 213.2 kB / 0.8056 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.02223, allocations: 1.469 kB / 0.8056 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002972/0.02253, allocations: 277.4 kB / 0.8059 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/0.02256, allocations: 33.7 kB / 0.8059 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.02257, allocations: 4 kB / 0.8059 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.02259, allocations: 4 kB / 0.8059 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.02273, allocations: 56.62 kB / 0.806 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.02273, allocations: 4.641 kB / 0.806 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.02285, allocations: 24.2 kB / 0.806 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.02287, allocations: 20 kB / 0.806 GB, free: 7.551 MB / 0.7136 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.0001151/0.02299, allocations: 188.3 kB / 0.8062 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.02303, allocations: 43.73 kB / 0.8063 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/0.02322, allocations: 140.5 kB / 0.8064 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.02323, allocations: 0 / 0.8064 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.02323, allocations: 0 / 0.8064 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001968/0.02343, allocations: 430 kB / 0.8068 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.02369, allocations: 264.3 kB / 0.8071 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.02369, allocations: 0 / 0.8071 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.179e-05/0.02377, allocations: 31.98 kB / 0.8071 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.02378, allocations: 0 / 0.8071 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.02379, allocations: 8 kB / 0.8071 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.02379, allocations: 3.938 kB / 0.8071 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.02379, allocations: 0 / 0.8071 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.02403, allocations: 196 kB / 0.8073 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.289e-05/0.0241, allocations: 55.72 kB / 0.8073 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.02413, allocations: 0 / 0.8073 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.776e-05/0.02423, allocations: 19.94 kB / 0.8074 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.02428, allocations: 11.97 kB / 0.8074 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.02429, allocations: 15.98 kB / 0.8074 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001403/0.02443, allocations: 235 kB / 0.8076 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.02444, allocations: 0 / 0.8076 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002834/0.02472, allocations: 111.8 kB / 0.8077 GB, free: 5.676 MB / 0.7136 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.0002158/0.02493, allocations: 155 kB / 0.8079 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002264/0.02516, allocations: 188.6 kB / 0.8081 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02516, allocations: 0 / 0.8081 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.13e-05/0.02522, allocations: 54.12 kB / 0.8081 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005199/0.02574, allocations: 212.7 kB / 0.8083 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.02683, allocations: 0.631 MB / 0.8089 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.932e-05/0.02689, allocations: 96.61 kB / 0.809 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001589/0.02704, allocations: 59.25 kB / 0.8091 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.904e-05/0.0271, allocations: 36.42 kB / 0.8091 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of SimCode: time 8.22e-07/0.0271, allocations: 3.938 kB / 0.8091 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.009231/0.03634, allocations: 7.28 MB / 0.8162 GB, free: 13.08 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.201202385127544]