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.001167/0.001167, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001232/0.001232, allocations: 173 kB / 23.49 MB, free: 1.059 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.9527/0.9527, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.203/2.203, allocations: 429.5 MB / 0.6736 GB, free: 4.027 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 2.274e-06/2.274e-06, allocations: 0 / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.213e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.00332/0.003353, allocations: 1.641 MB / 0.8798 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.004558, allocations: 0.6352 MB / 0.8804 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.039e-05/0.004638, allocations: 0 / 0.8804 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.8e-05/0.004696, allocations: 3.938 kB / 0.8804 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.543e-05/0.004792, allocations: 11.88 kB / 0.8804 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000425/0.005217, allocations: 67.72 kB / 0.8805 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.005354, allocations: 51.78 kB / 0.8806 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.005466, allocations: 8 kB / 0.8806 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.005634, allocations: 40.77 kB / 0.8806 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.662e-05/0.00569, allocations: 11.98 kB / 0.8806 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.005711, allocations: 5.125 kB / 0.8806 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.005866, allocations: 55.88 kB / 0.8807 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.011e-05/0.005936, allocations: 23.92 kB / 0.8807 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.005976, allocations: 21.03 kB / 0.8807 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.006191, allocations: 87.66 kB / 0.8808 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.006196, allocations: 0 / 0.8808 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.172e-06/0.006197, allocations: 1 kB / 0.8808 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.006202, allocations: 3.938 kB / 0.8808 GB, free: 3.949 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.000604/0.006806, allocations: 432.8 kB / 0.8812 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.006853, allocations: 12.03 kB / 0.8812 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000749/0.007602, allocations: 242.2 kB / 0.8815 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.007888, allocations: 157 kB / 0.8816 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.743e-05/0.007985, allocations: 76.47 kB / 0.8817 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.008003, allocations: 4.375 kB / 0.8817 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.008348, allocations: 168.1 kB / 0.8818 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.008357, allocations: 0 / 0.8818 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.008374, allocations: 4 kB / 0.8819 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.008384, allocations: 0 / 0.8819 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.008587, allocations: 135.9 kB / 0.882 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007649/0.009352, allocations: 499.1 kB / 0.8825 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.009655, allocations: 174.9 kB / 0.8826 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.009755, allocations: 71.7 kB / 0.8827 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.009772, allocations: 0 / 0.8827 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.009797, allocations: 33.39 kB / 0.8827 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.009799, allocations: 0 / 0.8827 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0004574/0.01026, allocations: 221.4 kB / 0.8829 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.0103, allocations: 55.41 kB / 0.883 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.01046, allocations: 212.1 kB / 0.8832 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.01048, allocations: 25.7 kB / 0.8832 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.765e-05/0.01055, allocations: 146.9 kB / 0.8834 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.01058, allocations: 12.08 kB / 0.8834 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.336e-05/0.01065, allocations: 39.34 kB / 0.8834 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.0108, allocations: 0.4961 MB / 0.8839 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.01092, allocations: 71.92 kB / 0.884 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.01103, allocations: 75.88 kB / 0.884 GB, free: 456 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.01122, allocations: 119.6 kB / 0.8841 GB, free: 332 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01123, allocations: 4.062 kB / 0.8841 GB, free: 328 kB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002971/0.01152, allocations: 201.4 kB / 0.8843 GB, free: 120 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.01155, allocations: 10.34 kB / 0.8843 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.01155, allocations: 0 / 0.8843 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.01157, allocations: 0 / 0.8843 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.01175, allocations: 59.89 kB / 0.8844 GB, free: 52 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.01176, allocations: 7.938 kB / 0.8844 GB, free: 44 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.113e-05/0.01184, allocations: 31.98 kB / 0.8844 GB, free: 12 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.01194, allocations: 71.78 kB / 0.8845 GB, free: 15.94 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 0.0001002/0.01204, allocations: 160.5 kB / 0.8847 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.01208, allocations: 11.95 kB / 0.8847 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.01211, allocations: 7.953 kB / 0.8847 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01212, allocations: 0 / 0.8847 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.01212, allocations: 4 kB / 0.8847 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.01213, allocations: 4 kB / 0.8847 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.01238, allocations: 196.5 kB / 0.8849 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01238, allocations: 0 / 0.8849 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.01252, allocations: 51.92 kB / 0.8849 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.01252, allocations: 0 / 0.8849 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.01254, allocations: 15.97 kB / 0.8849 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.01254, allocations: 0 / 0.8849 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01254, allocations: 0 / 0.8849 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.01292, allocations: 347.6 kB / 0.8853 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/0.01294, allocations: 11.91 kB / 0.8853 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.01297, allocations: 0 / 0.8853 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.01309, allocations: 35.89 kB / 0.8853 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.01313, allocations: 0 / 0.8853 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.317e-05/0.01321, allocations: 75.92 kB / 0.8854 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.457e-05/0.01329, allocations: 153.4 kB / 0.8855 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01329, allocations: 0 / 0.8855 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003169/0.01361, allocations: 15.94 kB / 0.8856 GB, free: 14.81 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.0001803/0.01379, allocations: 103.2 kB / 0.8857 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003057/0.01409, allocations: 171.5 kB / 0.8858 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.0141, allocations: 4 kB / 0.8858 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.01423, allocations: 99.59 kB / 0.8859 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.01452, allocations: 19.92 kB / 0.8859 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008083/0.01533, allocations: 253.7 kB / 0.8862 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.894e-05/0.01539, allocations: 63.33 kB / 0.8862 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000255/0.01564, allocations: 183.7 kB / 0.8864 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.627e-05/0.01573, allocations: 32.41 kB / 0.8864 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of SimCode: time 1.232e-06/0.01573, allocations: 0 / 0.8864 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of Templates: time 0.004626/0.02036, allocations: 1.351 MB / 0.8878 GB, free: 12.49 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.618645291076973]