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.001277/0.001277, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001722/0.001722, allocations: 177 kB / 23.36 MB, free: 1.129 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.9331/0.9331, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.444/2.444, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.393e-06/1.393e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.752e-05, allocations: 12.58 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002612/0.00263, allocations: 1.63 MB / 0.8402 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.003769, allocations: 0.6427 MB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/0.00382, allocations: 4 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.457e-05/0.003865, allocations: 3.938 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.395e-05/0.003949, allocations: 7.875 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.004241, allocations: 67.72 kB / 0.8409 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.473e-05/0.004325, allocations: 55.84 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.215e-05/0.004388, allocations: 4 kB / 0.841 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.353e-05/0.004481, allocations: 51.77 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.445e-05/0.004526, allocations: 15.91 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.00454, allocations: 4 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.094e-05/0.004631, allocations: 47.95 kB / 0.8411 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.417e-05/0.004675, allocations: 27.91 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.114e-05/0.004696, allocations: 11.98 kB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.004834, allocations: 91.64 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.004836, allocations: 0 / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.81e-07/0.004837, allocations: 4 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.00484, allocations: 0 / 0.8412 GB, free: 11.54 MB / 0.8073 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.0003433/0.005183, allocations: 308.4 kB / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.005213, allocations: 12.62 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003488/0.005562, allocations: 168.6 kB / 0.8417 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.005702, allocations: 146.2 kB / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.818e-05/0.00576, allocations: 67.95 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.005772, allocations: 4.312 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.005944, allocations: 146.5 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.779e-06/0.005949, allocations: 4 kB / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.005958, allocations: 0 / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.005963, allocations: 4 kB / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.69e-05/0.00604, allocations: 87.92 kB / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.006412, allocations: 352 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.006557, allocations: 126.4 kB / 0.8426 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.556e-05/0.006603, allocations: 40.88 kB / 0.8426 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.006616, allocations: 0 / 0.8426 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.006641, allocations: 34.56 kB / 0.8426 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.006642, allocations: 0 / 0.8426 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0002218/0.006864, allocations: 133.5 kB / 0.8428 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.006897, allocations: 51.41 kB / 0.8428 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.242e-05/0.00699, allocations: 149.9 kB / 0.8429 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.007006, allocations: 25.7 kB / 0.843 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/0.007059, allocations: 100.1 kB / 0.8431 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.007075, allocations: 7.938 kB / 0.8431 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.007117, allocations: 33.69 kB / 0.8431 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.932e-05/0.007207, allocations: 326.8 kB / 0.8434 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.291e-05/0.00726, allocations: 51.88 kB / 0.8435 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.935e-05/0.007309, allocations: 47.89 kB / 0.8435 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.013e-05/0.007399, allocations: 92.83 kB / 0.8436 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.007402, allocations: 4 kB / 0.8436 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001156/0.007518, allocations: 125.5 kB / 0.8437 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.007528, allocations: 7.984 kB / 0.8437 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.007532, allocations: 0 / 0.8437 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.007542, allocations: 0 / 0.8437 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.83e-05/0.00764, allocations: 51.92 kB / 0.8438 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.007644, allocations: 4.031 kB / 0.8438 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/0.007692, allocations: 39.83 kB / 0.8438 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.534e-05/0.007737, allocations: 63.84 kB / 0.8439 GB, free: 8.613 MB / 0.8073 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.684e-05/0.007794, allocations: 120.6 kB / 0.844 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.007812, allocations: 7.984 kB / 0.844 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.771e-05/0.00783, allocations: 11.95 kB / 0.844 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.007832, allocations: 8 kB / 0.844 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.007833, allocations: 0 / 0.844 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.007836, allocations: 0 / 0.844 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.00797, allocations: 141.8 kB / 0.8442 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.00797, allocations: 0 / 0.8442 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.226e-05/0.008033, allocations: 43.92 kB / 0.8442 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.008034, allocations: 4 kB / 0.8442 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.008045, allocations: 15.97 kB / 0.8442 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.008045, allocations: 0 / 0.8442 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008046, allocations: 4 kB / 0.8442 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004116/0.008458, allocations: 219.3 kB / 0.8444 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.019e-05/0.008468, allocations: 7.953 kB / 0.8444 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.008479, allocations: 0 / 0.8444 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003076/0.008786, allocations: 35.89 kB / 0.8445 GB, free: 7.961 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.878e-05/0.008805, allocations: 7.984 kB / 0.8445 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/0.008852, allocations: 67.94 kB / 0.8446 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.743e-05/0.008879, allocations: 34.7 kB / 0.8446 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008879, allocations: 0 / 0.8446 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001296/0.009009, allocations: 12 kB / 0.8446 GB, free: 7.84 MB / 0.8073 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.42e-05/0.009093, allocations: 84.34 kB / 0.8447 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001272/0.00922, allocations: 124.7 kB / 0.8448 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.009223, allocations: 0 / 0.8448 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.736e-05/0.00928, allocations: 68.72 kB / 0.8449 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001112/0.009391, allocations: 25.75 kB / 0.8449 GB, free: 7.531 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006073/0.009999, allocations: 231 kB / 0.8451 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.163e-05/0.01003, allocations: 63.33 kB / 0.8452 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001403/0.01017, allocations: 187.8 kB / 0.8453 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.09e-05/0.01024, allocations: 71.34 kB / 0.8454 GB, free: 6.941 MB / 0.8073 GB Notification: Performance of SimCode: time 5.21e-07/0.01024, allocations: 3.938 kB / 0.8454 GB, free: 6.938 MB / 0.8073 GB Notification: Performance of Templates: time 0.002823/0.01306, allocations: 1.513 MB / 0.8469 GB, free: 5.434 MB / 0.8073 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.188533862121403]