Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009332/0.0009332, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009193/0.0009193, allocations: 169 kB / 23.02 MB, free: 1.543 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 0.9145/0.9145, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.081/2.081, allocations: 429.5 MB / 0.6733 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.656e-06/3.656e-06, allocations: 4.656 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.038e-05/3.403e-05, allocations: 3.375 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002711/0.002745, allocations: 1.646 MB / 0.8798 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00091/0.003655, allocations: 0.6326 MB / 0.8804 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.428e-05/0.003719, allocations: 0 / 0.8804 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.797e-05/0.003777, allocations: 5.062 kB / 0.8804 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.003882, allocations: 15.86 kB / 0.8804 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.004282, allocations: 60.83 kB / 0.8805 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.004404, allocations: 51.78 kB / 0.8805 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.004508, allocations: 18.05 kB / 0.8806 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.004645, allocations: 39.83 kB / 0.8806 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.635e-05/0.004692, allocations: 11.98 kB / 0.8806 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.004711, allocations: 4 kB / 0.8806 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.004834, allocations: 59.88 kB / 0.8807 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.038e-05/0.004895, allocations: 22.38 kB / 0.8807 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/0.004925, allocations: 15.94 kB / 0.8807 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.005083, allocations: 91.69 kB / 0.8808 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.005086, allocations: 0 / 0.8808 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.72e-07/0.005087, allocations: 0 / 0.8808 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.005091, allocations: 0 / 0.8808 GB, free: 3.625 MB / 0.8386 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.0004563/0.005547, allocations: 436.7 kB / 0.8812 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.005588, allocations: 8.031 kB / 0.8812 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004615/0.006049, allocations: 249.5 kB / 0.8815 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.00623, allocations: 162.9 kB / 0.8816 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.289e-05/0.006312, allocations: 63.95 kB / 0.8817 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.006325, allocations: 384 / 0.8817 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.006558, allocations: 174.5 kB / 0.8818 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.006567, allocations: 0 / 0.8818 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.006584, allocations: 3.984 kB / 0.8818 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.006592, allocations: 0 / 0.8818 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.006745, allocations: 131.9 kB / 0.882 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005187/0.007264, allocations: 0.4913 MB / 0.8825 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.007478, allocations: 178.9 kB / 0.8826 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.613e-05/0.007555, allocations: 63.7 kB / 0.8827 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.007568, allocations: 0 / 0.8827 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.007588, allocations: 41.39 kB / 0.8827 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.007589, allocations: 0 / 0.8827 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003133/0.007903, allocations: 221.5 kB / 0.8829 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.007934, allocations: 51.41 kB / 0.883 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.008049, allocations: 212.1 kB / 0.8832 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.008062, allocations: 29.64 kB / 0.8832 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.008126, allocations: 146.9 kB / 0.8834 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.008144, allocations: 3.953 kB / 0.8834 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.896e-05/0.008193, allocations: 47.33 kB / 0.8834 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.008316, allocations: 0.4922 MB / 0.8839 GB, free: 268 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.687e-05/0.008393, allocations: 80.06 kB / 0.884 GB, free: 188 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.591e-05/0.008459, allocations: 71.92 kB / 0.884 GB, free: 116 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.008593, allocations: 127.5 kB / 0.8841 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.008594, allocations: 0 / 0.8841 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002313/0.008826, allocations: 197.5 kB / 0.8843 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.00884, allocations: 4 kB / 0.8843 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.008844, allocations: 3.938 kB / 0.8843 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.008858, allocations: 4 kB / 0.8843 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.008972, allocations: 51.92 kB / 0.8844 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.008977, allocations: 0 / 0.8844 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.23e-05/0.00903, allocations: 31.95 kB / 0.8844 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.297e-05/0.009083, allocations: 79.81 kB / 0.8845 GB, free: 15.61 MB / 0.8542 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.501e-05/0.009158, allocations: 160.5 kB / 0.8847 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.009185, allocations: 7.953 kB / 0.8847 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.009209, allocations: 11.97 kB / 0.8847 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.009211, allocations: 0 / 0.8847 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.009214, allocations: 0 / 0.8847 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.009217, allocations: 0 / 0.8847 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.009372, allocations: 196.5 kB / 0.8849 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.009373, allocations: 4 kB / 0.8849 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.232e-05/0.009445, allocations: 59.84 kB / 0.8849 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.009449, allocations: 4 kB / 0.8849 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.009463, allocations: 7.984 kB / 0.8849 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.009464, allocations: 0 / 0.8849 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.009466, allocations: 0 / 0.8849 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.009702, allocations: 347.6 kB / 0.8853 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.009716, allocations: 19.94 kB / 0.8853 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.009731, allocations: 3.984 kB / 0.8853 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.555e-05/0.009797, allocations: 27.97 kB / 0.8853 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.00983, allocations: 7.984 kB / 0.8853 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/0.009875, allocations: 67.84 kB / 0.8854 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.782e-05/0.009932, allocations: 155.1 kB / 0.8855 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009932, allocations: 0 / 0.8855 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000168/0.0101, allocations: 20 kB / 0.8856 GB, free: 14.47 MB / 0.8542 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.01022, allocations: 95.25 kB / 0.8856 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.01042, allocations: 171.5 kB / 0.8858 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01042, allocations: 0 / 0.8858 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.095e-05/0.01051, allocations: 95.61 kB / 0.8859 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.01068, allocations: 24.09 kB / 0.8859 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005293/0.01121, allocations: 253.7 kB / 0.8862 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.735e-05/0.01124, allocations: 67.28 kB / 0.8862 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001545/0.0114, allocations: 183.6 kB / 0.8864 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.01146, allocations: 36.45 kB / 0.8864 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of SimCode: time 6.42e-07/0.01146, allocations: 0 / 0.8864 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of Templates: time 0.003244/0.0147, allocations: 1.5 MB / 0.8879 GB, free: 12.02 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.0508176307193935]