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.001487/0.001487, allocations: 93.06 kB / 19.65 MB, free: 280 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.001763/0.001763, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9899/0.9899, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.163/2.163, allocations: 429.5 MB / 0.6732 GB, free: 4.02 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 1.984e-06/1.984e-06, allocations: 0 / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.109e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003446/0.003477, allocations: 1.656 MB / 0.8798 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.004739, allocations: 0.6302 MB / 0.8804 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.775e-05/0.004807, allocations: 0.5938 kB / 0.8804 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.523e-05/0.004872, allocations: 8.797 kB / 0.8804 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.00499, allocations: 11.86 kB / 0.8804 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.00545, allocations: 68.83 kB / 0.8805 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.005588, allocations: 47.84 kB / 0.8805 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.00571, allocations: 12.98 kB / 0.8806 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.005896, allocations: 35.91 kB / 0.8806 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.649e-05/0.005973, allocations: 21 kB / 0.8806 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.005999, allocations: 4 kB / 0.8806 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.006169, allocations: 55.88 kB / 0.8807 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.545e-05/0.006245, allocations: 24.58 kB / 0.8807 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.034e-05/0.006285, allocations: 15.92 kB / 0.8807 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.006505, allocations: 92.61 kB / 0.8808 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.00651, allocations: 0 / 0.8808 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.523e-06/0.006511, allocations: 0.75 kB / 0.8808 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.932e-06/0.006517, 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.0006224/0.00714, allocations: 435.6 kB / 0.8812 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.007187, allocations: 12.03 kB / 0.8812 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007455/0.007932, allocations: 239.3 kB / 0.8814 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.008336, allocations: 154.5 kB / 0.8816 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.435e-05/0.00843, allocations: 71.89 kB / 0.8817 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.008452, allocations: 8.359 kB / 0.8817 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.008791, allocations: 170.5 kB / 0.8818 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.008799, allocations: 0 / 0.8818 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.008817, allocations: 4 kB / 0.8818 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.008827, allocations: 4 kB / 0.8818 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.009021, allocations: 131.9 kB / 0.882 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007637/0.009784, allocations: 495.1 kB / 0.8824 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.01008, allocations: 174.9 kB / 0.8826 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.01019, allocations: 75.64 kB / 0.8827 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.01021, allocations: 0 / 0.8827 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.01024, allocations: 33.39 kB / 0.8827 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.01024, allocations: 0 / 0.8827 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0004698/0.01071, allocations: 225.4 kB / 0.8829 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.01075, allocations: 51.41 kB / 0.883 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.01093, allocations: 215.5 kB / 0.8832 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.01095, allocations: 25.7 kB / 0.8832 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.877e-05/0.01103, allocations: 146.9 kB / 0.8833 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.01105, allocations: 7.953 kB / 0.8834 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.847e-05/0.01112, allocations: 39.34 kB / 0.8834 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.01128, allocations: 0.4961 MB / 0.8839 GB, free: 272 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.01139, allocations: 71.92 kB / 0.8839 GB, free: 200 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.908e-05/0.01149, allocations: 71.88 kB / 0.884 GB, free: 128 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.01168, allocations: 127.7 kB / 0.8841 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01169, allocations: 0 / 0.8841 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002974/0.01198, allocations: 197.4 kB / 0.8843 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.01201, allocations: 8 kB / 0.8843 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.01201, allocations: 0 / 0.8843 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.01203, allocations: 0 / 0.8843 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.01222, allocations: 59.94 kB / 0.8844 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.01222, allocations: 7.938 kB / 0.8844 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.679e-05/0.01231, allocations: 27.95 kB / 0.8844 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.332e-05/0.01239, allocations: 71.78 kB / 0.8845 GB, free: 15.62 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.0001003/0.01249, allocations: 156.6 kB / 0.8846 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.01254, allocations: 15.95 kB / 0.8847 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.01257, allocations: 7.953 kB / 0.8847 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.01258, allocations: 3.984 kB / 0.8847 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.01258, allocations: 0 / 0.8847 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01259, allocations: 4 kB / 0.8847 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.01285, allocations: 200.4 kB / 0.8849 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.01286, allocations: 0 / 0.8849 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004225/0.01328, allocations: 51.92 kB / 0.8849 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.01328, allocations: 0 / 0.8849 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.0133, allocations: 15.97 kB / 0.8849 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.01331, allocations: 7.938 kB / 0.8849 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01331, allocations: 0 / 0.8849 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003752/0.01368, allocations: 343.6 kB / 0.8853 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.0137, allocations: 11.91 kB / 0.8853 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.01373, allocations: 0 / 0.8853 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.01386, allocations: 35.89 kB / 0.8853 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.01389, allocations: 32 / 0.8853 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-05/0.01397, allocations: 67.91 kB / 0.8854 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.427e-05/0.01406, allocations: 160.2 kB / 0.8855 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01406, allocations: 0 / 0.8855 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002975/0.01436, allocations: 15.94 kB / 0.8855 GB, free: 14.48 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.000199/0.01456, allocations: 99.23 kB / 0.8856 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003256/0.01488, allocations: 179.5 kB / 0.8858 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01489, allocations: 0 / 0.8858 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.01502, allocations: 99.53 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.0002902/0.01531, allocations: 18.8 kB / 0.8859 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007779/0.01609, allocations: 253.9 kB / 0.8862 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.2e-05/0.01614, allocations: 71.33 kB / 0.8862 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002416/0.01638, 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 8.484e-05/0.01646, allocations: 28.41 kB / 0.8864 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of SimCode: time 9.32e-07/0.01647, allocations: 0 / 0.8864 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.005462/0.02193, allocations: 1.357 MB / 0.8878 GB, free: 12.16 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.690891278907657]