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.001135/0.001135, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001103/0.001103, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.8869/0.8869, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.839/1.839, allocations: 359 MB / 0.6055 GB, free: 10.89 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 1.683e-06/1.683e-06, allocations: 0 / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.443e-05, allocations: 6.25 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.006687/0.006711, allocations: 7.187 MB / 0.7946 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003135/0.009847, allocations: 2.45 MB / 0.7969 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003516/0.0102, allocations: 24.72 kB / 0.797 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004161/0.01061, allocations: 135 kB / 0.7971 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0009372/0.01155, allocations: 0.5287 MB / 0.7976 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005986/0.01215, allocations: 373.8 kB / 0.798 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009471/0.0131, allocations: 1.081 MB / 0.799 GB, free: 456 kB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003046/0.0134, allocations: 265.1 kB / 0.7993 GB, free: 192 kB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008028/0.0142, allocations: 0.5459 MB / 0.7998 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003497/0.01455, allocations: 279.2 kB / 0.8001 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 4.547e-05/0.0146, allocations: 32 kB / 0.8001 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002801/0.01488, allocations: 140.2 kB / 0.8002 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 9.268e-05/0.01497, allocations: 100.3 kB / 0.8003 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.01511, allocations: 139.7 kB / 0.8005 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0005758/0.01568, allocations: 412.2 kB / 0.8009 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.01569, allocations: 0 / 0.8009 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.042e-06/0.01569, allocations: 4 kB / 0.8009 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.0157, allocations: 0 / 0.8009 GB, free: 14.57 MB / 0.7605 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.000944/0.01664, allocations: 0.7662 MB / 0.8016 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.01668, allocations: 8.031 kB / 0.8016 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.01685, allocations: 80.58 kB / 0.8017 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.01722, allocations: 348.1 kB / 0.802 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.01724, allocations: 21.91 kB / 0.8021 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.01728, allocations: 32.33 kB / 0.8021 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003385/0.01762, allocations: 363.8 kB / 0.8024 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.01763, allocations: 4 kB / 0.8024 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.01765, allocations: 8.5 kB / 0.8024 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/0.01768, allocations: 13.44 kB / 0.8025 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.0178, allocations: 77.36 kB / 0.8025 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.01884, allocations: 1.304 MB / 0.8038 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.01901, allocations: 95.78 kB / 0.8039 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.753e-05/0.01905, allocations: 32.33 kB / 0.8039 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.362e-05/0.01912, allocations: 14.8 kB / 0.8039 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.01929, allocations: 198.8 kB / 0.8041 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 1.854e-06/0.01929, allocations: 0 / 0.8041 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.0002322/0.01952, allocations: 145.3 kB / 0.8043 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.01955, allocations: 51.41 kB / 0.8043 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.01976, allocations: 350 kB / 0.8046 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.01978, allocations: 33.7 kB / 0.8047 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.01991, allocations: 273.6 kB / 0.8049 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.01995, allocations: 55.56 kB / 0.805 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.908e-05/0.02002, allocations: 59.33 kB / 0.8051 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.02016, allocations: 0.5233 MB / 0.8056 GB, free: 9.473 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.347e-05/0.02021, allocations: 49.67 kB / 0.8056 GB, free: 9.418 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.627e-05/0.02031, allocations: 154.2 kB / 0.8058 GB, free: 9.215 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.02046, allocations: 214.4 kB / 0.806 GB, free: 8.957 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.02046, allocations: 0 / 0.806 GB, free: 8.957 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002499/0.02071, allocations: 263.1 kB / 0.8062 GB, free: 8.684 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/0.02075, allocations: 30.02 kB / 0.8062 GB, free: 8.648 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.02076, allocations: 8 kB / 0.8062 GB, free: 8.641 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.02077, allocations: 4 kB / 0.8063 GB, free: 8.637 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.0209, allocations: 55.91 kB / 0.8063 GB, free: 8.582 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.02091, allocations: 4 kB / 0.8063 GB, free: 8.578 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.02102, allocations: 31.81 kB / 0.8063 GB, free: 8.547 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.02103, allocations: 12 kB / 0.8064 GB, free: 8.535 MB / 0.7605 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.0001035/0.02114, allocations: 172.5 kB / 0.8065 GB, free: 8.355 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.02118, allocations: 43.75 kB / 0.8066 GB, free: 8.312 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.02135, allocations: 132.4 kB / 0.8067 GB, free: 8.168 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.02135, allocations: 4 kB / 0.8067 GB, free: 8.164 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.02135, allocations: 0 / 0.8067 GB, free: 8.164 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001899/0.02154, allocations: 422.3 kB / 0.8071 GB, free: 7.668 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.02178, allocations: 217 kB / 0.8073 GB, free: 7.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.02178, allocations: 0 / 0.8073 GB, free: 7.43 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.323e-05/0.02186, allocations: 31.98 kB / 0.8073 GB, free: 7.398 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.02187, allocations: 0 / 0.8073 GB, free: 7.398 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.02188, allocations: 0 / 0.8073 GB, free: 7.398 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.02188, allocations: 0 / 0.8073 GB, free: 7.398 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.02188, allocations: 4 kB / 0.8073 GB, free: 7.395 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.02209, allocations: 200 kB / 0.8075 GB, free: 7.176 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.02215, allocations: 43.78 kB / 0.8076 GB, free: 7.133 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.02217, allocations: 0 / 0.8076 GB, free: 7.133 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.405e-05/0.02227, allocations: 15.98 kB / 0.8076 GB, free: 7.117 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.02231, allocations: 15.97 kB / 0.8076 GB, free: 7.102 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.02233, allocations: 7.984 kB / 0.8076 GB, free: 7.094 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001092/0.02244, allocations: 226.9 kB / 0.8078 GB, free: 6.875 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.02244, allocations: 3.938 kB / 0.8078 GB, free: 6.871 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002554/0.02269, allocations: 111.8 kB / 0.8079 GB, free: 6.762 MB / 0.7605 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.0001975/0.02289, allocations: 151 kB / 0.8081 GB, free: 6.605 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000187/0.02307, allocations: 189 kB / 0.8083 GB, free: 6.398 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.02308, allocations: 0 / 0.8083 GB, free: 6.398 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.225e-05/0.02313, allocations: 45.98 kB / 0.8083 GB, free: 6.352 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.02363, allocations: 203.8 kB / 0.8085 GB, free: 6.156 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009984/0.02463, allocations: 0.6311 MB / 0.8091 GB, free: 5.496 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.778e-05/0.02468, allocations: 100.6 kB / 0.8092 GB, free: 5.375 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001377/0.02482, allocations: 59.19 kB / 0.8093 GB, free: 5.312 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/0.02508, allocations: 214 kB / 0.8095 GB, free: 5.102 MB / 0.7605 GB Notification: Performance of SimCode: time 8.82e-07/0.02509, allocations: 0 / 0.8095 GB, free: 5.102 MB / 0.7605 GB Notification: Performance of Templates: time 0.009272/0.03436, allocations: 7.307 MB / 0.8166 GB, free: 14 MB / 0.7761 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.132954279892147]