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.001087/0.001087, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009842/0.0009842, allocations: 161 kB / 23.82 MB, free: 0.75 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.024/1.024, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.938/1.938, allocations: 377.8 MB / 0.6236 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] 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 1.362e-06/1.362e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.354e-05, allocations: 3.078 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.001966/0.00199, allocations: 1.646 MB / 0.8132 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000913/0.002903, allocations: 0.6377 MB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.516e-05/0.002968, allocations: 0 / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.858e-05/0.003027, allocations: 3.938 kB / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.003132, allocations: 8.656 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.003543, allocations: 72.66 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.003649, allocations: 51.78 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.239e-05/0.003742, allocations: 16.86 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.003853, allocations: 31.91 kB / 0.814 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.665e-05/0.0039, allocations: 21.22 kB / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.003916, allocations: 4 kB / 0.814 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.004033, allocations: 55.88 kB / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.894e-05/0.004112, allocations: 19.92 kB / 0.8141 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.004148, allocations: 21.55 kB / 0.8141 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.004338, allocations: 95.62 kB / 0.8142 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.00434, allocations: 0 / 0.8142 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.51e-07/0.004341, allocations: 0 / 0.8142 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.004345, allocations: 1.344 kB / 0.8142 GB, free: 15.05 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.0004457/0.004791, allocations: 432 kB / 0.8146 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.004826, allocations: 12.03 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004788/0.005305, allocations: 242.4 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.00548, allocations: 157 kB / 0.815 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.261e-05/0.005553, allocations: 68.42 kB / 0.815 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.005569, allocations: 4.375 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.005811, allocations: 177.1 kB / 0.8152 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.005821, allocations: 0 / 0.8152 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.005836, allocations: 0 / 0.8152 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.005846, allocations: 4 kB / 0.8152 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.006031, allocations: 131.9 kB / 0.8153 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.006601, allocations: 0.4898 MB / 0.8158 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.006801, allocations: 175.5 kB / 0.816 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.007e-05/0.006871, allocations: 68.83 kB / 0.816 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.006887, allocations: 0 / 0.816 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.833e-05/0.006985, allocations: 37.38 kB / 0.8161 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.006987, allocations: 0.8438 kB / 0.8161 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0003195/0.007306, allocations: 226 kB / 0.8163 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.007329, allocations: 56.22 kB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.007438, allocations: 203.8 kB / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.00745, allocations: 26.64 kB / 0.8166 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.868e-05/0.007509, allocations: 146.8 kB / 0.8167 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.007526, allocations: 7.953 kB / 0.8167 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.007574, allocations: 44.67 kB / 0.8168 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.007685, allocations: 0.4961 MB / 0.8172 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.456e-05/0.00776, allocations: 71.94 kB / 0.8173 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.871e-05/0.007829, allocations: 76.73 kB / 0.8174 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.007957, allocations: 125.8 kB / 0.8175 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.007959, allocations: 0 / 0.8175 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001918/0.008151, allocations: 196.9 kB / 0.8177 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.008164, allocations: 11.94 kB / 0.8177 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.008168, allocations: 0 / 0.8177 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.008183, allocations: 0 / 0.8177 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.008297, allocations: 47.92 kB / 0.8178 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.008303, allocations: 7.938 kB / 0.8178 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.525e-05/0.008359, allocations: 33.02 kB / 0.8178 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001958/0.008554, allocations: 80.89 kB / 0.8179 GB, free: 11.06 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.124e-05/0.008626, allocations: 161 kB / 0.818 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.008648, allocations: 8.547 kB / 0.818 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/0.008671, allocations: 7.969 kB / 0.818 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.008673, allocations: 5.359 kB / 0.818 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.008676, allocations: 0 / 0.818 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.00868, allocations: 4 kB / 0.818 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.008831, allocations: 196.5 kB / 0.8182 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.008832, allocations: 0.6875 kB / 0.8182 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.661e-05/0.008918, allocations: 61.66 kB / 0.8183 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.00892, allocations: 0 / 0.8183 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.008933, allocations: 7.984 kB / 0.8183 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.008934, allocations: 0.6562 kB / 0.8183 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.008935, allocations: 0 / 0.8183 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.009162, allocations: 345.1 kB / 0.8186 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.285e-05/0.009175, allocations: 11.94 kB / 0.8186 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.009188, allocations: 3.688 kB / 0.8186 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.009259, allocations: 39.89 kB / 0.8187 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.009285, allocations: 0 / 0.8187 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/0.009331, allocations: 63.91 kB / 0.8187 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.848e-05/0.009389, allocations: 161.2 kB / 0.8189 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009389, allocations: 3.938 kB / 0.8189 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000169/0.009558, allocations: 12.94 kB / 0.8189 GB, free: 9.941 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.000116/0.009674, allocations: 100.3 kB / 0.819 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.009887, allocations: 172.6 kB / 0.8192 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.009888, allocations: 0 / 0.8192 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.366e-05/0.009972, allocations: 96.66 kB / 0.8193 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.01014, allocations: 16.89 kB / 0.8193 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005234/0.01067, allocations: 273.2 kB / 0.8195 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.904e-05/0.01071, allocations: 59.34 kB / 0.8196 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001615/0.01087, allocations: 194.7 kB / 0.8198 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.776e-05/0.01092, allocations: 32.45 kB / 0.8198 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.01093, allocations: 4 kB / 0.8198 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of Templates: time 0.00304/0.01397, allocations: 1.36 MB / 0.8212 GB, free: 7.605 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.358671122230589]