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.002742/0.002742, allocations: 87.69 kB / 20.24 MB, free: 4.188 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.003399/0.003399, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.582/1.582, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 3.085/3.085, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] 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.914e-06/1.914e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.913e-05/3.104e-05, allocations: 4.703 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003472/0.003503, allocations: 1.625 MB / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.004967, allocations: 0.619 MB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.695e-05/0.005034, allocations: 0 / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.777e-05/0.005102, allocations: 3.938 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.952e-05/0.005202, allocations: 16.77 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.005636, allocations: 63.73 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.005777, allocations: 52.91 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.005877, allocations: 11.98 kB / 0.8132 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.006052, allocations: 36.34 kB / 0.8132 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.495e-05/0.006126, allocations: 24.56 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.006151, allocations: 4 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.006336, allocations: 61.12 kB / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.269e-05/0.006408, allocations: 19.91 kB / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.126e-05/0.00645, allocations: 15.94 kB / 0.8133 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.006722, allocations: 114 kB / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.006727, allocations: 0 / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.773e-06/0.006729, allocations: 0 / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.006734, allocations: 0 / 0.8134 GB, free: 15.46 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.0007036/0.007438, allocations: 427.8 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.007477, allocations: 12.03 kB / 0.8138 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009745/0.008451, allocations: 246.4 kB / 0.8141 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.008769, allocations: 158.7 kB / 0.8142 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.008883, allocations: 63.94 kB / 0.8143 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.008907, allocations: 9.531 kB / 0.8143 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.009308, allocations: 162.6 kB / 0.8145 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.009318, allocations: 0 / 0.8145 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.009338, allocations: 4 kB / 0.8145 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.009344, allocations: 0.5938 kB / 0.8145 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004782/0.009822, allocations: 201.7 kB / 0.8146 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.01084, allocations: 0.5005 MB / 0.8151 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004997/0.01134, allocations: 206.2 kB / 0.8153 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.01158, allocations: 99.61 kB / 0.8154 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.0116, allocations: 4 kB / 0.8154 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.01164, allocations: 33.39 kB / 0.8155 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.01164, allocations: 0.5 kB / 0.8155 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0009265/0.01256, allocations: 316.7 kB / 0.8158 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.01262, allocations: 55.34 kB / 0.8158 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.01286, allocations: 220.5 kB / 0.816 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.01289, allocations: 26.89 kB / 0.8161 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.01302, allocations: 150.8 kB / 0.8162 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.01304, allocations: 3.953 kB / 0.8162 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-05/0.01314, allocations: 47.86 kB / 0.8162 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002904/0.01343, allocations: 0.5 MB / 0.8167 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.01367, allocations: 88.83 kB / 0.8168 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.01389, allocations: 93.98 kB / 0.8169 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.01427, allocations: 153.2 kB / 0.8171 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.01427, allocations: 0 / 0.8171 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005248/0.0148, allocations: 223 kB / 0.8173 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.01482, allocations: 9.031 kB / 0.8173 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.01482, allocations: 0 / 0.8173 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.01484, allocations: 5.109 kB / 0.8173 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.01504, allocations: 55.86 kB / 0.8173 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.01505, allocations: 9.016 kB / 0.8173 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.01517, allocations: 29.2 kB / 0.8174 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.975e-05/0.01527, allocations: 72.28 kB / 0.8174 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 0.0001438/0.01542, allocations: 161.6 kB / 0.8176 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.01546, allocations: 7.953 kB / 0.8176 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.01549, allocations: 9.016 kB / 0.8176 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.01549, allocations: 4 kB / 0.8176 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.0155, allocations: 0 / 0.8176 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.0155, allocations: 1.281 kB / 0.8176 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.01582, allocations: 216.5 kB / 0.8178 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01582, allocations: 0 / 0.8178 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.016, allocations: 57 kB / 0.8179 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.016, allocations: 3.938 kB / 0.8179 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.01603, allocations: 12.64 kB / 0.8179 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.01603, allocations: 2.344 kB / 0.8179 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01603, allocations: 0 / 0.8179 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000643/0.01667, allocations: 371.7 kB / 0.8183 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/0.01669, allocations: 6.984 kB / 0.8183 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.01672, allocations: 7.922 kB / 0.8183 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.01687, allocations: 31.91 kB / 0.8183 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.01691, allocations: 7.969 kB / 0.8183 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.04e-05/0.017, allocations: 68.75 kB / 0.8184 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001352/0.01713, allocations: 163.1 kB / 0.8185 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01713, allocations: 1.125 kB / 0.8185 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000263/0.0174, allocations: 19.94 kB / 0.8185 GB, free: 9.973 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.0002292/0.01762, allocations: 100.3 kB / 0.8186 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005335/0.01816, allocations: 210.6 kB / 0.8188 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01816, allocations: 0 / 0.8188 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002566/0.01842, allocations: 103.6 kB / 0.8189 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.01866, allocations: 22.03 kB / 0.819 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000691/0.01935, allocations: 268.1 kB / 0.8192 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.01947, allocations: 79.31 kB / 0.8193 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000293/0.01976, allocations: 184 kB / 0.8195 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.901e-05/0.01985, allocations: 32.47 kB / 0.8195 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of SimCode: time 7.12e-07/0.01985, allocations: 0 / 0.8195 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of Templates: time 0.004917/0.02477, allocations: 1.327 MB / 0.8208 GB, free: 7.621 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.350797563092783]