Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.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.001102/0.001102, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001305/0.001305, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.036/1.036, allocations: 177.2 MB / 203.8 MB, free: 5.484 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.591/2.591, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.319e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002224/0.002248, allocations: 1.655 MB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.003306, allocations: 0.8138 MB / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.78e-05/0.003364, allocations: 0 / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.003394, allocations: 3.938 kB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.808e-05/0.003472, allocations: 27.78 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.003837, allocations: 95.56 kB / 0.8412 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.003944, allocations: 55.73 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.185e-05/0.004026, allocations: 11.98 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.004159, allocations: 43.83 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.481e-05/0.004214, allocations: 19.98 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.004227, allocations: 4 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.004365, allocations: 79.86 kB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.004377, allocations: 0 / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.151e-05/0.004398, allocations: 15.94 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.004546, allocations: 107.6 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.004549, allocations: 4 kB / 0.8415 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.81e-07/0.00455, allocations: 3.938 kB / 0.8415 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.004553, allocations: 0 / 0.8415 GB, free: 11.17 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003327/0.004886, allocations: 276.5 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.00492, allocations: 12.03 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002525/0.005173, allocations: 48.89 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.005319, allocations: 125.7 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.005328, allocations: 8.375 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-06/0.005335, allocations: 384 / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.00548, allocations: 74.84 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.005488, allocations: 192 / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.005498, allocations: 8.375 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.005505, allocations: 3.938 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.777e-05/0.005543, allocations: 15.98 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.005824, allocations: 180.3 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.26e-05/0.005907, allocations: 38.55 kB / 0.8423 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.178e-05/0.005928, allocations: 16.89 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.005944, allocations: 7.984 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.005965, allocations: 38.56 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.005966, allocations: 0 / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001548/0.006121, allocations: 61.59 kB / 0.8424 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.006147, allocations: 51.41 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.171e-05/0.006209, allocations: 122.1 kB / 0.8425 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.00622, allocations: 25.7 kB / 0.8426 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.358e-05/0.006284, allocations: 92.11 kB / 0.8427 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.006308, allocations: 15.89 kB / 0.8427 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.006338, allocations: 13.7 kB / 0.8427 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.006416, allocations: 330.8 kB / 0.843 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.303e-05/0.006439, allocations: 4 kB / 0.843 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.91e-05/0.006459, allocations: 11.98 kB / 0.843 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.277e-05/0.006501, allocations: 20.84 kB / 0.843 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.006503, allocations: 0 / 0.843 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.864e-05/0.006582, allocations: 49.62 kB / 0.8431 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.006596, allocations: 10.34 kB / 0.8431 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.006604, allocations: 7.922 kB / 0.8431 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.006616, allocations: 0 / 0.8431 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.108e-05/0.006697, allocations: 23.92 kB / 0.8431 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.0067, allocations: 0 / 0.8431 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/0.006731, allocations: 11.94 kB / 0.8431 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.006738, allocations: 0 / 0.8431 GB, free: 9.344 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 5.938e-05/0.006798, allocations: 109.8 kB / 0.8432 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.006819, allocations: 7.984 kB / 0.8432 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.00685, allocations: 15.94 kB / 0.8433 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.006852, allocations: 0 / 0.8433 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.006854, allocations: 4 kB / 0.8433 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.006857, allocations: 0 / 0.8433 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.504e-05/0.006952, allocations: 73.89 kB / 0.8433 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.006953, allocations: 0 / 0.8433 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/0.006993, allocations: 15.97 kB / 0.8433 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.006996, allocations: 4 kB / 0.8434 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.007003, allocations: 3.984 kB / 0.8434 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.007004, allocations: 0 / 0.8434 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.007008, allocations: 7.938 kB / 0.8434 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.007196, allocations: 163.4 kB / 0.8435 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-06/0.007203, allocations: 4 kB / 0.8435 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.007214, allocations: 0 / 0.8435 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.268e-05/0.007257, allocations: 4 kB / 0.8435 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.007288, allocations: 7.922 kB / 0.8435 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.007293, allocations: 0 / 0.8435 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.358e-05/0.007317, allocations: 24.84 kB / 0.8436 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007317, allocations: 0 / 0.8436 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001743/0.007491, allocations: 31.83 kB / 0.8436 GB, free: 8.832 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001447/0.007636, allocations: 108.3 kB / 0.8437 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.763e-05/0.007723, allocations: 25.22 kB / 0.8437 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.007727, allocations: 4 kB / 0.8437 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.737e-05/0.007754, allocations: 24.81 kB / 0.8437 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.007902, allocations: 14.05 kB / 0.8438 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/0.008365, allocations: 168.5 kB / 0.8439 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.403e-05/0.008399, allocations: 55.36 kB / 0.844 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.812e-05/0.008457, allocations: 19.97 kB / 0.844 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.886e-05/0.008516, allocations: 55.36 kB / 0.844 GB, free: 8.309 MB / 0.8073 GB Notification: Performance of SimCode: time 6.51e-07/0.008516, allocations: 0 / 0.844 GB, free: 8.309 MB / 0.8073 GB Notification: Performance of Templates: time 0.003168/0.01168, allocations: 1.215 MB / 0.8452 GB, free: 7.098 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.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.480957701802254]