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.001259/0.001259, allocations: 82.64 kB / 20.68 MB, free: 3.82 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.001339/0.001339, allocations: 181 kB / 24.08 MB, free: 424 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 0.8983/0.8983, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.849/1.849, allocations: 377.9 MB / 0.6239 GB, free: 8.445 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 1.333e-06/1.333e-06, allocations: 0 / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145e-05/1.278e-05, allocations: 6.25 kB / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002016/0.002029, allocations: 1.624 MB / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0007268/0.002756, allocations: 0.633 MB / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.61e-05/0.002802, allocations: 0 / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.696e-05/0.002839, allocations: 8.969 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.522e-05/0.002914, allocations: 7.922 kB / 0.8142 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.003187, allocations: 68.89 kB / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.518e-05/0.003272, allocations: 55.78 kB / 0.8144 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 6.601e-05/0.003338, allocations: 9.234 kB / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.569e-05/0.003434, allocations: 43.89 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.906e-05/0.003473, allocations: 11.92 kB / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.003486, allocations: 6.438 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.721e-05/0.003583, allocations: 63.86 kB / 0.8145 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.123e-05/0.003624, allocations: 19.92 kB / 0.8145 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.217e-05/0.003646, allocations: 11.94 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.003775, allocations: 103.6 kB / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.302e-06/0.003776, allocations: 0 / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.71e-07/0.003776, allocations: 0.5312 kB / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.705e-06/0.003779, allocations: 0 / 0.8146 GB, free: 14.79 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.00035/0.004129, allocations: 428.8 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.00416, allocations: 9.25 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004166/0.004577, allocations: 240.7 kB / 0.8153 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.0047, allocations: 158.2 kB / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.122e-05/0.004751, allocations: 67.95 kB / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.004761, allocations: 8.312 kB / 0.8155 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.004938, allocations: 152.5 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.004944, allocations: 0 / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.004952, allocations: 0 / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.004957, allocations: 0.8125 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.911e-05/0.005036, allocations: 83.92 kB / 0.8157 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.005431, allocations: 473.6 kB / 0.8162 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.005561, allocations: 128 kB / 0.8163 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.218e-05/0.005603, allocations: 52.44 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.005614, allocations: 0 / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.005631, allocations: 37.98 kB / 0.8164 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.005632, allocations: 0.9062 kB / 0.8164 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002076/0.00584, allocations: 166.3 kB / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.005863, allocations: 51.41 kB / 0.8166 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.845e-05/0.005952, allocations: 208.1 kB / 0.8168 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.005964, allocations: 26.98 kB / 0.8168 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.006012, allocations: 150.8 kB / 0.817 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.006026, allocations: 3.953 kB / 0.817 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.006066, allocations: 44.03 kB / 0.817 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.006178, allocations: 0.4961 MB / 0.8175 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.237e-05/0.006231, allocations: 56.81 kB / 0.8175 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.636e-05/0.006277, allocations: 53.45 kB / 0.8176 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.527e-05/0.006362, allocations: 92.59 kB / 0.8177 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.006364, allocations: 0 / 0.8177 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001403/0.006504, allocations: 164.8 kB / 0.8178 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.657e-06/0.006513, allocations: 4 kB / 0.8178 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.006516, allocations: 0 / 0.8178 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.845e-06/0.006524, allocations: 0 / 0.8178 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.821e-05/0.006612, allocations: 51.92 kB / 0.8179 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.006614, allocations: 0 / 0.8179 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.747e-05/0.006662, allocations: 34.33 kB / 0.8179 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/0.00671, allocations: 75.83 kB / 0.818 GB, free: 11.15 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.385e-05/0.006784, allocations: 165.5 kB / 0.8182 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.006806, allocations: 7.953 kB / 0.8182 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.185e-05/0.006827, allocations: 4.625 kB / 0.8182 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.006829, allocations: 0 / 0.8182 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.006831, allocations: 6.281 kB / 0.8182 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.006833, allocations: 0 / 0.8182 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.00704, allocations: 185.1 kB / 0.8184 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.007041, allocations: 0 / 0.8184 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.007156, allocations: 51.92 kB / 0.8184 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.007157, allocations: 3.062 kB / 0.8184 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.00717, allocations: 15.97 kB / 0.8184 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.00717, allocations: 3.938 kB / 0.8184 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.007172, allocations: 4 kB / 0.8184 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.00736, allocations: 303.6 kB / 0.8187 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-06/0.007369, allocations: 3.953 kB / 0.8187 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.00738, allocations: 8.922 kB / 0.8187 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.754e-05/0.007448, allocations: 29.03 kB / 0.8188 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.853e-05/0.007467, allocations: 7.984 kB / 0.8188 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/0.007509, allocations: 65 kB / 0.8188 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.514e-05/0.007555, allocations: 152.2 kB / 0.819 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007555, allocations: 0 / 0.819 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001497/0.007704, allocations: 12 kB / 0.819 GB, free: 10.1 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 9.656e-05/0.007801, allocations: 104.4 kB / 0.8191 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001377/0.007939, allocations: 129.2 kB / 0.8192 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.91e-07/0.007939, allocations: 0 / 0.8192 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.179e-05/0.008001, allocations: 80.05 kB / 0.8193 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.008153, allocations: 16.86 kB / 0.8193 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006871/0.00884, allocations: 240 kB / 0.8195 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.403e-05/0.008884, allocations: 63.34 kB / 0.8196 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001918/0.009076, allocations: 188.9 kB / 0.8198 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.841e-05/0.009164, allocations: 94.16 kB / 0.8199 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of SimCode: time 1.392e-06/0.009166, allocations: 3.938 kB / 0.8199 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of Templates: time 0.002964/0.01213, allocations: 1.577 MB / 0.8214 GB, free: 7.574 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: 4.760435671079904]