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.001385/0.001385, allocations: 80.8 kB / 20.75 MB, free: 3.746 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.001491/0.001491, allocations: 161 kB / 24.16 MB, free: 340 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.9452/0.9452, allocations: 177.1 MB / 204.6 MB, free: 5.035 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.014/2.014, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.022e-06/1.022e-06, allocations: 3.938 kB / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232e-05/1.335e-05, allocations: 3.594 kB / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002002/0.002016, allocations: 1.689 MB / 0.7617 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000777/0.002793, allocations: 0.6384 MB / 0.7624 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.192e-05/0.002835, allocations: 5.344 kB / 0.7624 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.339e-05/0.002868, allocations: 7.922 kB / 0.7624 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.232e-05/0.00293, allocations: 7.656 kB / 0.7624 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.003173, allocations: 65.33 kB / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.912e-05/0.003262, allocations: 54.48 kB / 0.7625 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.081e-05/0.003323, allocations: 15.94 kB / 0.7625 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.003423, allocations: 32.7 kB / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.101e-05/0.003464, allocations: 24.72 kB / 0.7626 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.003477, allocations: 4 kB / 0.7626 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.003584, allocations: 53.27 kB / 0.7626 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.817e-05/0.003622, allocations: 27.91 kB / 0.7626 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.003642, allocations: 19.92 kB / 0.7627 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.003771, allocations: 95.62 kB / 0.7628 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.003773, allocations: 0.5 kB / 0.7628 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003773, allocations: 1.219 kB / 0.7628 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.515e-06/0.003776, allocations: 0 / 0.7628 GB, free: 3.867 MB / 0.7136 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.0002962/0.004072, allocations: 296.4 kB / 0.763 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.413e-05/0.004096, allocations: 9.188 kB / 0.763 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003614/0.004457, allocations: 183.6 kB / 0.7632 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.00459, allocations: 148.9 kB / 0.7634 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.858e-05/0.004639, allocations: 63.95 kB / 0.7634 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.004649, allocations: 4.375 kB / 0.7634 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.00482, allocations: 154.5 kB / 0.7636 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.004826, allocations: 0 / 0.7636 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-06/0.004834, allocations: 6.812 kB / 0.7636 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.004838, allocations: 0 / 0.7636 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.931e-05/0.004918, allocations: 75.94 kB / 0.7637 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.00528, allocations: 360 kB / 0.764 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.005424, allocations: 115.9 kB / 0.7641 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.005465, allocations: 45.48 kB / 0.7642 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.005474, allocations: 0 / 0.7642 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.00549, allocations: 35.22 kB / 0.7642 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.005491, allocations: 2.062 kB / 0.7642 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001751/0.005666, allocations: 129.6 kB / 0.7643 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.005688, allocations: 51.41 kB / 0.7644 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.215e-05/0.00576, allocations: 149.3 kB / 0.7645 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.005773, allocations: 25.7 kB / 0.7645 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.034e-05/0.005803, allocations: 98.55 kB / 0.7646 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/0.005816, allocations: 3.953 kB / 0.7646 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.005857, allocations: 41.61 kB / 0.7647 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.764e-05/0.005925, allocations: 318.8 kB / 0.765 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.917e-05/0.005974, allocations: 51.94 kB / 0.765 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.286e-05/0.006017, allocations: 46.14 kB / 0.7651 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.714e-05/0.006104, allocations: 100.7 kB / 0.7652 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.006105, allocations: 1.031 kB / 0.7652 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001146/0.00622, allocations: 122.5 kB / 0.7653 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.00623, allocations: 7.938 kB / 0.7653 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-06/0.006233, allocations: 1.906 kB / 0.7653 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.006243, allocations: 0 / 0.7653 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.006349, allocations: 63.89 kB / 0.7653 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.006351, allocations: 0 / 0.7653 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.901e-05/0.0064, allocations: 33.39 kB / 0.7654 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.853e-05/0.006449, allocations: 65.12 kB / 0.7654 GB, free: 0.9727 MB / 0.7136 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 5.383e-05/0.006503, allocations: 117.3 kB / 0.7656 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.006522, allocations: 4 kB / 0.7656 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.756e-05/0.00654, allocations: 16.48 kB / 0.7656 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.006541, allocations: 0 / 0.7656 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.006543, allocations: 0.625 kB / 0.7656 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.006545, allocations: 0.5938 kB / 0.7656 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.00668, allocations: 137.8 kB / 0.7657 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.006682, allocations: 9.422 kB / 0.7657 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.337e-05/0.006755, allocations: 63.84 kB / 0.7658 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.006756, allocations: 1.125 kB / 0.7658 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.006766, allocations: 11.97 kB / 0.7658 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-07/0.006767, allocations: 0 / 0.7658 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.006768, allocations: 0.75 kB / 0.7658 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.00691, allocations: 228 kB / 0.766 GB, free: 364 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-06/0.006919, allocations: 4.672 kB / 0.766 GB, free: 360 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.006932, allocations: 4 kB / 0.766 GB, free: 356 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.471e-05/0.006997, allocations: 29.48 kB / 0.766 GB, free: 328 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.007016, allocations: 11.98 kB / 0.7661 GB, free: 316 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.417e-05/0.007061, allocations: 66.22 kB / 0.7661 GB, free: 252 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.396e-05/0.007084, allocations: 28.83 kB / 0.7661 GB, free: 220 kB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.007085, allocations: 0 / 0.7661 GB, free: 220 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001457/0.00723, allocations: 23.89 kB / 0.7662 GB, free: 196 kB / 0.7136 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 8.412e-05/0.007314, allocations: 86.84 kB / 0.7662 GB, free: 104 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001417/0.007456, allocations: 120.7 kB / 0.7664 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.00746, allocations: 8 kB / 0.7664 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.019e-05/0.00752, allocations: 70.19 kB / 0.7664 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.007772, allocations: 11.92 kB / 0.7664 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003792/0.008152, allocations: 242.1 kB / 0.7667 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.468e-05/0.008186, allocations: 63.34 kB / 0.7667 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001499/0.008336, allocations: 181 kB / 0.7669 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.00841, allocations: 71.33 kB / 0.767 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of SimCode: time 5.61e-07/0.00841, allocations: 4.812 kB / 0.767 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of Templates: time 0.002686/0.0111, allocations: 1.539 MB / 0.7685 GB, free: 13.83 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.097546588163823]