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.001503/0.001503, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001636/0.001636, allocations: 173 kB / 23.49 MB, free: 1.059 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.9776/0.9776, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.049/2.049, allocations: 429.5 MB / 0.6736 GB, free: 4.047 MB / 0.6355 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 1.823e-06/1.823e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/2.044e-05, allocations: 6.844 kB / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.001837/0.001857, allocations: 1.608 MB / 0.8798 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009845/0.002842, allocations: 0.8102 MB / 0.8806 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.908e-05/0.002901, allocations: 0 / 0.8806 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.105e-05/0.002932, allocations: 4.438 kB / 0.8806 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.139e-05/0.003003, allocations: 21.48 kB / 0.8806 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.003334, allocations: 104.1 kB / 0.8807 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.003452, allocations: 59.72 kB / 0.8807 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.881e-05/0.003541, allocations: 9.344 kB / 0.8807 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.003668, allocations: 43.83 kB / 0.8808 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.068e-05/0.003719, allocations: 13.58 kB / 0.8808 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.003734, allocations: 7.938 kB / 0.8808 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.003847, allocations: 71.92 kB / 0.8809 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.00386, allocations: 4 kB / 0.8809 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.003885, allocations: 15.94 kB / 0.8809 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.004044, allocations: 109.4 kB / 0.881 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004047, allocations: 3.938 kB / 0.881 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.52e-07/0.004048, allocations: 0 / 0.881 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.004056, allocations: 0 / 0.881 GB, free: 3.758 MB / 0.8386 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.0005088/0.004565, allocations: 408.2 kB / 0.8814 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.004603, allocations: 12.02 kB / 0.8814 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002795/0.004882, allocations: 36.86 kB / 0.8814 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.005036, allocations: 140.5 kB / 0.8816 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.005046, allocations: 4.375 kB / 0.8816 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.005056, allocations: 384 / 0.8816 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.005219, allocations: 94.81 kB / 0.8817 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.005227, allocations: 192 / 0.8817 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.005239, allocations: 384 / 0.8817 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.005249, allocations: 3.938 kB / 0.8817 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.219e-05/0.005312, allocations: 23.98 kB / 0.8817 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.005625, allocations: 299.8 kB / 0.882 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.005732, allocations: 63.03 kB / 0.882 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.005771, allocations: 27.7 kB / 0.8821 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.005788, allocations: 4 kB / 0.8821 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.00581, allocations: 41.33 kB / 0.8821 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.005811, allocations: 0 / 0.8821 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002085/0.00602, allocations: 77.66 kB / 0.8822 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.006047, allocations: 51.41 kB / 0.8822 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.405e-05/0.006131, allocations: 184.3 kB / 0.8824 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.006143, allocations: 25.7 kB / 0.8824 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.00619, allocations: 138.8 kB / 0.8826 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.006209, allocations: 15.89 kB / 0.8826 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.006242, allocations: 23.36 kB / 0.8826 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.006351, allocations: 0.4923 MB / 0.8831 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.235e-05/0.006384, allocations: 11.94 kB / 0.8831 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.9e-05/0.006413, allocations: 19.92 kB / 0.8831 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.842e-05/0.006471, allocations: 31.95 kB / 0.8831 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006473, allocations: 0 / 0.8831 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001009/0.006574, allocations: 73.55 kB / 0.8832 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.006587, allocations: 8 kB / 0.8832 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.006592, allocations: 0 / 0.8832 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.006605, allocations: 4 kB / 0.8832 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.671e-05/0.006682, allocations: 11.98 kB / 0.8832 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.006688, allocations: 7.922 kB / 0.8833 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.775e-05/0.006716, allocations: 4 kB / 0.8833 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.006723, allocations: 0 / 0.8833 GB, free: 1.25 MB / 0.8386 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.568e-05/0.006789, allocations: 160.6 kB / 0.8834 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.006808, allocations: 11.88 kB / 0.8834 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.274e-05/0.006841, allocations: 12 kB / 0.8834 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.006842, allocations: 0 / 0.8834 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.006846, allocations: 0 / 0.8834 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.006849, allocations: 0 / 0.8834 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.006962, allocations: 132.6 kB / 0.8836 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.006963, allocations: 0 / 0.8836 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.098e-05/0.007004, allocations: 15.98 kB / 0.8836 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.007006, allocations: 0 / 0.8836 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.007016, allocations: 11.92 kB / 0.8836 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.007017, allocations: 0 / 0.8836 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.007018, allocations: 4 kB / 0.8836 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.007157, allocations: 211.9 kB / 0.8838 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-06/0.007164, allocations: 3.953 kB / 0.8838 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.007179, allocations: 11.92 kB / 0.8838 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.124e-05/0.00722, allocations: 0 / 0.8838 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.007262, allocations: 8 kB / 0.8838 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.007267, allocations: 3.984 kB / 0.8838 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.327e-05/0.007311, allocations: 139.2 kB / 0.8839 GB, free: 484 kB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.007311, allocations: 0 / 0.8839 GB, free: 484 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000165/0.007476, allocations: 31.88 kB / 0.884 GB, free: 452 kB / 0.8386 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.0001442/0.00762, allocations: 123.1 kB / 0.8841 GB, free: 316 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.007737, allocations: 47.64 kB / 0.8841 GB, free: 264 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.007738, allocations: 0 / 0.8841 GB, free: 264 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.692e-05/0.007775, allocations: 27.61 kB / 0.8842 GB, free: 232 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.007968, allocations: 16.84 kB / 0.8842 GB, free: 216 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005174/0.008485, allocations: 182 kB / 0.8844 GB, free: 4 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.331e-05/0.008528, allocations: 51.36 kB / 0.8844 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.894e-05/0.008577, allocations: 23.97 kB / 0.8844 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.008611, allocations: 12.5 kB / 0.8844 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of SimCode: time 9.82e-07/0.008612, allocations: 0 / 0.8844 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of Templates: time 0.002708/0.01132, allocations: 1.149 MB / 0.8856 GB, free: 14.77 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.280808968935162]