Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.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.001509/0.001509, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001752/0.001752, allocations: 169.3 kB / 24.28 MB, free: 280 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 1.021/1.021, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.877/1.877, allocations: 377.8 MB / 0.6239 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.8115 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.403e-05/4.619e-05, allocations: 4.688 kB / 0.8115 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003444/0.00349, allocations: 1.639 MB / 0.8131 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.004668, allocations: 0.6251 MB / 0.8138 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.647e-05/0.004745, allocations: 5.375 kB / 0.8138 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.74e-05/0.004802, allocations: 7.922 kB / 0.8138 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.004906, allocations: 7.875 kB / 0.8138 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006129/0.005519, allocations: 68.89 kB / 0.8138 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.005681, allocations: 51.78 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.005819, allocations: 13.14 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.005999, allocations: 35.91 kB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.245e-05/0.006062, allocations: 19.91 kB / 0.814 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.006083, allocations: 5.094 kB / 0.814 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.006249, allocations: 55.88 kB / 0.814 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.736e-05/0.006317, allocations: 23.92 kB / 0.814 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.006356, allocations: 20.75 kB / 0.8141 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.006588, allocations: 95.64 kB / 0.8142 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.006592, allocations: 1.344 kB / 0.8142 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.422e-06/0.006594, allocations: 0 / 0.8142 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.269e-06/0.006599, allocations: 0 / 0.8142 GB, free: 15.38 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006981/0.007297, allocations: 428.6 kB / 0.8146 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.007339, allocations: 8.562 kB / 0.8146 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005741/0.007913, allocations: 241.5 kB / 0.8148 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.008151, allocations: 167.3 kB / 0.815 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.974e-05/0.008241, allocations: 67.95 kB / 0.815 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.008257, allocations: 4.844 kB / 0.815 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.00854, allocations: 172.2 kB / 0.8152 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.008548, allocations: 0 / 0.8152 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.008563, allocations: 0 / 0.8152 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.008572, allocations: 1.281 kB / 0.8152 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.008707, allocations: 135.9 kB / 0.8153 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006081/0.009315, allocations: 0.4932 MB / 0.8158 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.009512, allocations: 176.2 kB / 0.816 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.967e-05/0.009581, allocations: 63.7 kB / 0.816 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.009596, allocations: 1.594 kB / 0.816 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.009622, allocations: 37.39 kB / 0.8161 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.009623, allocations: 0 / 0.8161 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.000343/0.009966, allocations: 228.2 kB / 0.8163 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.01, allocations: 51.41 kB / 0.8163 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.01012, allocations: 212.5 kB / 0.8165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.01014, allocations: 29.64 kB / 0.8166 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.0102, allocations: 150.8 kB / 0.8167 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.01022, allocations: 3.953 kB / 0.8167 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/0.01028, allocations: 47.33 kB / 0.8168 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003378/0.01061, allocations: 0.4922 MB / 0.8172 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.139e-05/0.01069, allocations: 72.97 kB / 0.8173 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.202e-05/0.01077, allocations: 80.98 kB / 0.8174 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.0109, allocations: 124.6 kB / 0.8175 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.0109, allocations: 0 / 0.8175 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000184/0.01108, allocations: 187.2 kB / 0.8177 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.0111, allocations: 7.984 kB / 0.8177 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.0111, allocations: 0.875 kB / 0.8177 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.01111, allocations: 0 / 0.8177 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.01123, allocations: 57.27 kB / 0.8178 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.01123, allocations: 0 / 0.8178 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.278e-05/0.01129, allocations: 36.8 kB / 0.8178 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.577e-05/0.01134, allocations: 73.09 kB / 0.8179 GB, free: 11.39 MB / 0.7761 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 (2): * Single equations (assignments): 2 * 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 7.544e-05/0.01142, allocations: 163.4 kB / 0.818 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.01144, allocations: 7.953 kB / 0.818 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.135e-05/0.01146, allocations: 11.95 kB / 0.818 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.01147, allocations: 0 / 0.818 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.01147, allocations: 0 / 0.818 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.01147, allocations: 0 / 0.818 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.01163, allocations: 208.5 kB / 0.8182 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01164, allocations: 0 / 0.8182 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.465e-05/0.01171, allocations: 58.56 kB / 0.8183 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/0.01172, allocations: 4 kB / 0.8183 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.01173, allocations: 7.984 kB / 0.8183 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.01173, allocations: 0 / 0.8183 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01173, allocations: 0 / 0.8183 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.01198, allocations: 344.5 kB / 0.8186 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.151e-05/0.01199, allocations: 9.078 kB / 0.8186 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.01201, allocations: 0 / 0.8186 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.01208, allocations: 33.48 kB / 0.8187 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.01211, allocations: 7.984 kB / 0.8187 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/0.01216, allocations: 74.5 kB / 0.8187 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.664e-05/0.01221, allocations: 151.1 kB / 0.8189 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01221, allocations: 0 / 0.8189 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001801/0.01239, allocations: 20 kB / 0.8189 GB, free: 10.26 MB / 0.7761 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 (2): * Single equations (assignments): 2 * 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.0001389/0.01253, allocations: 103.9 kB / 0.819 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002095/0.01274, allocations: 169.2 kB / 0.8192 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.01274, allocations: 0 / 0.8192 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.239e-05/0.01283, allocations: 95.86 kB / 0.8193 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.013, allocations: 24.03 kB / 0.8193 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005589/0.01356, allocations: 253.7 kB / 0.8195 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.747e-05/0.0136, allocations: 63.34 kB / 0.8196 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001662/0.01377, allocations: 191.5 kB / 0.8198 GB, free: 9.312 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.778e-05/0.01382, allocations: 32.45 kB / 0.8198 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of SimCode: time 1.052e-06/0.01382, allocations: 3.938 kB / 0.8198 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of Templates: time 0.003138/0.01696, allocations: 1.362 MB / 0.8211 GB, free: 7.93 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.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.21860300982371]