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.001397/0.001397, allocations: 81.86 kB / 19.87 MB, free: 4.625 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.001487/0.001487, allocations: 169.7 kB / 23.28 MB, free: 1.223 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.9275/0.9275, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.296/2.296, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 2.285e-06/2.285e-06, allocations: 0 / 0.8898 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.774e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002003/0.002021, allocations: 1.61 MB / 0.8913 GB, free: 8.121 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000993/0.003014, allocations: 0.8024 MB / 0.8921 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.003072, allocations: 3.938 kB / 0.8921 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.568e-05/0.003097, allocations: 7.938 kB / 0.8921 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.822e-05/0.003166, allocations: 19.8 kB / 0.8921 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.003527, allocations: 107.6 kB / 0.8922 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.003629, allocations: 59.72 kB / 0.8923 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.724e-05/0.003706, allocations: 7.984 kB / 0.8923 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.003823, allocations: 35.86 kB / 0.8923 GB, free: 7.074 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.173e-05/0.003874, allocations: 23.95 kB / 0.8924 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.003888, allocations: 4 kB / 0.8924 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.003997, allocations: 67.88 kB / 0.8924 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.00401, allocations: 12 kB / 0.8925 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.953e-05/0.004029, allocations: 15.92 kB / 0.8925 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.004167, allocations: 111.6 kB / 0.8926 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.004169, allocations: 0 / 0.8926 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.71e-07/0.004169, allocations: 3.938 kB / 0.8926 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.004173, allocations: 0 / 0.8926 GB, free: 6.84 MB / 0.8542 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.0003011/0.004474, allocations: 404.2 kB / 0.893 GB, free: 6.41 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.004506, allocations: 8.031 kB / 0.893 GB, free: 6.402 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002304/0.004737, allocations: 44.84 kB / 0.893 GB, free: 6.359 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.004856, allocations: 136.5 kB / 0.8931 GB, free: 6.199 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.004864, allocations: 4.359 kB / 0.8931 GB, free: 6.195 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.004871, allocations: 4.375 kB / 0.8932 GB, free: 6.191 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.005, allocations: 74.91 kB / 0.8932 GB, free: 6.109 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.005007, allocations: 192 / 0.8932 GB, free: 6.109 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.005015, allocations: 384 / 0.8932 GB, free: 6.109 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.005021, allocations: 11.94 kB / 0.8932 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.728e-05/0.005059, allocations: 19.92 kB / 0.8933 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.005416, allocations: 288.3 kB / 0.8935 GB, free: 5.77 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.005533, allocations: 51.03 kB / 0.8936 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.67e-05/0.00556, allocations: 19.77 kB / 0.8936 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.005577, allocations: 0 / 0.8936 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.005597, allocations: 41.33 kB / 0.8936 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.005598, allocations: 4 kB / 0.8936 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001572/0.005755, allocations: 73.59 kB / 0.8937 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.00578, allocations: 51.41 kB / 0.8938 GB, free: 5.488 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.262e-05/0.005852, allocations: 179.9 kB / 0.8939 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.005865, allocations: 33.69 kB / 0.894 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.34e-05/0.005909, allocations: 134.8 kB / 0.8941 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.005927, allocations: 11.89 kB / 0.8941 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.00596, allocations: 27.34 kB / 0.8941 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.006065, allocations: 496.1 kB / 0.8946 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.332e-05/0.006088, allocations: 12 kB / 0.8946 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/0.006109, allocations: 15.92 kB / 0.8946 GB, free: 4.551 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.27e-05/0.006152, allocations: 35.61 kB / 0.8947 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.006153, allocations: 0 / 0.8947 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.269e-05/0.006236, allocations: 61.62 kB / 0.8947 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.006248, allocations: 11.94 kB / 0.8947 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.006252, allocations: 3.984 kB / 0.8947 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.006264, allocations: 0 / 0.8947 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.911e-05/0.006333, allocations: 15.98 kB / 0.8948 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.006341, allocations: 0 / 0.8948 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.042e-05/0.006371, allocations: 7.984 kB / 0.8948 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.006378, allocations: 0 / 0.8948 GB, free: 4.406 MB / 0.8542 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 6.251e-05/0.00644, allocations: 164.5 kB / 0.8949 GB, free: 4.234 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/0.00646, allocations: 7.953 kB / 0.8949 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.126e-05/0.006491, allocations: 16.25 kB / 0.8949 GB, free: 4.203 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.006493, allocations: 0 / 0.8949 GB, free: 4.203 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.006496, allocations: 8 kB / 0.8949 GB, free: 4.195 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.006499, allocations: 7.984 kB / 0.895 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.892e-05/0.006598, allocations: 105.2 kB / 0.8951 GB, free: 4.059 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.006599, allocations: 0 / 0.8951 GB, free: 4.059 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-05/0.006638, allocations: 19.97 kB / 0.8951 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.006639, allocations: 0 / 0.8951 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.006644, allocations: 0 / 0.8951 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.006645, allocations: 0 / 0.8951 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.006647, allocations: 3.938 kB / 0.8951 GB, free: 4.035 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.006768, allocations: 215.8 kB / 0.8953 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-06/0.006775, allocations: 7.938 kB / 0.8953 GB, free: 3.797 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.006785, allocations: 4 kB / 0.8953 GB, free: 3.793 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.126e-05/0.006826, allocations: 4 kB / 0.8953 GB, free: 3.789 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.006852, allocations: 11.92 kB / 0.8953 GB, free: 3.777 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.006857, allocations: 4 kB / 0.8953 GB, free: 3.773 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.927e-05/0.006896, allocations: 131.2 kB / 0.8954 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006896, allocations: 0 / 0.8954 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001673/0.007064, allocations: 31.86 kB / 0.8955 GB, free: 3.613 MB / 0.8542 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.0001179/0.007182, allocations: 123.1 kB / 0.8956 GB, free: 3.484 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.39e-05/0.007266, allocations: 47.66 kB / 0.8956 GB, free: 3.434 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-06/0.007267, allocations: 0 / 0.8956 GB, free: 3.434 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.452e-05/0.007301, allocations: 27.61 kB / 0.8957 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.007467, allocations: 6.812 kB / 0.8957 GB, free: 3.398 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004011/0.007868, allocations: 166 kB / 0.8958 GB, free: 3.207 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.246e-05/0.0079, allocations: 59.34 kB / 0.8959 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.684e-05/0.007947, allocations: 19.98 kB / 0.8959 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.84e-05/0.008006, allocations: 78.19 kB / 0.896 GB, free: 3.031 MB / 0.8542 GB Notification: Performance of SimCode: time 1.162e-06/0.008007, allocations: 0 / 0.896 GB, free: 3.031 MB / 0.8542 GB Notification: Performance of Templates: time 0.002531/0.01054, allocations: 1.282 MB / 0.8972 GB, free: 1.754 MB / 0.8542 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 -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.095084242057055]