Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009519/0.0009519, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001768/0.001768, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.964/0.964, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.694/1.694, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.7871 GB, free: 11.36 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.488e-05, allocations: 9.344 kB / 0.7871 GB, free: 11.36 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002127/0.002152, allocations: 1.639 MB / 0.7887 GB, free: 9.723 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009186/0.003071, allocations: 0.6378 MB / 0.7893 GB, free: 9.082 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.003132, allocations: 0 / 0.7893 GB, free: 9.082 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.545e-05/0.003188, allocations: 7.922 kB / 0.7893 GB, free: 9.074 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.742e-05/0.003285, allocations: 16.45 kB / 0.7894 GB, free: 9.059 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.003695, allocations: 64.89 kB / 0.7894 GB, free: 8.996 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.003807, allocations: 55.78 kB / 0.7895 GB, free: 8.941 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.254e-05/0.003899, allocations: 12.52 kB / 0.7895 GB, free: 8.93 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.004031, allocations: 35.89 kB / 0.7895 GB, free: 8.895 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.247e-05/0.004083, allocations: 20.56 kB / 0.7895 GB, free: 8.875 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.004099, allocations: 5.125 kB / 0.7895 GB, free: 8.871 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.004223, allocations: 55.88 kB / 0.7896 GB, free: 8.816 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.574e-05/0.004279, allocations: 19.92 kB / 0.7896 GB, free: 8.797 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.004308, allocations: 20.77 kB / 0.7896 GB, free: 8.777 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.004473, allocations: 95.62 kB / 0.7897 GB, free: 8.684 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004475, allocations: 0.625 kB / 0.7897 GB, free: 8.684 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.52e-07/0.004476, allocations: 0 / 0.7897 GB, free: 8.684 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.004481, allocations: 5.219 kB / 0.7897 GB, free: 8.68 MB / 0.698 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.0004266/0.004907, allocations: 427.8 kB / 0.7901 GB, free: 8.227 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.004943, allocations: 8.031 kB / 0.7901 GB, free: 8.219 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007283/0.005671, allocations: 242.2 kB / 0.7904 GB, free: 7.988 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.005848, allocations: 160.9 kB / 0.7905 GB, free: 7.805 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.787e-05/0.005926, allocations: 69.5 kB / 0.7906 GB, free: 7.727 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.005939, allocations: 4.375 kB / 0.7906 GB, free: 7.723 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.006173, allocations: 171.1 kB / 0.7908 GB, free: 7.547 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.006179, allocations: 0.75 kB / 0.7908 GB, free: 7.547 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.006192, allocations: 0 / 0.7908 GB, free: 7.547 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.0062, allocations: 4.906 kB / 0.7908 GB, free: 7.543 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.006328, allocations: 135.8 kB / 0.7909 GB, free: 7.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.006837, allocations: 0.4964 MB / 0.7914 GB, free: 6.883 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.00702, allocations: 164.8 kB / 0.7915 GB, free: 6.711 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.463e-05/0.007085, allocations: 71.7 kB / 0.7916 GB, free: 6.637 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.007097, allocations: 1.531 kB / 0.7916 GB, free: 6.637 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.007115, allocations: 33.39 kB / 0.7916 GB, free: 6.594 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.007116, allocations: 0 / 0.7916 GB, free: 6.594 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003442/0.00746, allocations: 226 kB / 0.7919 GB, free: 6.367 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.007488, allocations: 53.31 kB / 0.7919 GB, free: 6.305 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.007595, allocations: 208.5 kB / 0.7921 GB, free: 6.086 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.007608, allocations: 25.7 kB / 0.7921 GB, free: 6.055 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.538e-05/0.007664, allocations: 150.9 kB / 0.7923 GB, free: 5.902 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.00768, allocations: 3.953 kB / 0.7923 GB, free: 5.898 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.007725, allocations: 45.89 kB / 0.7923 GB, free: 5.848 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.007841, allocations: 0.4961 MB / 0.7928 GB, free: 5.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.386e-05/0.007915, allocations: 67.94 kB / 0.7929 GB, free: 5.273 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.527e-05/0.00798, allocations: 79.86 kB / 0.793 GB, free: 5.195 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.008096, allocations: 120.8 kB / 0.7931 GB, free: 5.074 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.008099, allocations: 0 / 0.7931 GB, free: 5.074 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001885/0.008287, allocations: 203.6 kB / 0.7933 GB, free: 4.871 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.0083, allocations: 4 kB / 0.7933 GB, free: 4.867 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.008305, allocations: 0 / 0.7933 GB, free: 4.867 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.008317, allocations: 4.531 kB / 0.7933 GB, free: 4.863 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.008434, allocations: 64.47 kB / 0.7933 GB, free: 4.801 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.008439, allocations: 0.75 kB / 0.7933 GB, free: 4.801 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.168e-05/0.008491, allocations: 33 kB / 0.7934 GB, free: 4.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.217e-05/0.008543, allocations: 72.78 kB / 0.7934 GB, free: 4.699 MB / 0.698 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.107e-05/0.008614, allocations: 157.3 kB / 0.7936 GB, free: 4.535 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.008641, allocations: 15.94 kB / 0.7936 GB, free: 4.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.121e-05/0.008662, allocations: 5 kB / 0.7936 GB, free: 4.516 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.008665, allocations: 4 kB / 0.7936 GB, free: 4.512 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.008668, allocations: 0.8438 kB / 0.7936 GB, free: 4.512 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.008671, allocations: 0 / 0.7936 GB, free: 4.512 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.008825, allocations: 196.5 kB / 0.7938 GB, free: 4.285 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.008826, allocations: 1.531 kB / 0.7938 GB, free: 4.285 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.03e-05/0.008897, allocations: 55.91 kB / 0.7938 GB, free: 4.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.008899, allocations: 1 kB / 0.7939 GB, free: 4.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.008911, allocations: 15.92 kB / 0.7939 GB, free: 4.215 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.008913, allocations: 0 / 0.7939 GB, free: 4.215 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.008914, allocations: 6.062 kB / 0.7939 GB, free: 4.211 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.009152, allocations: 335.7 kB / 0.7942 GB, free: 3.863 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.009166, allocations: 7.953 kB / 0.7942 GB, free: 3.855 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.00918, allocations: 2.281 kB / 0.7942 GB, free: 3.855 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.498e-05/0.009245, allocations: 35.89 kB / 0.7942 GB, free: 3.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.009275, allocations: 3.984 kB / 0.7942 GB, free: 3.816 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.692e-05/0.009322, allocations: 70.22 kB / 0.7943 GB, free: 3.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.174e-05/0.009384, allocations: 161 kB / 0.7945 GB, free: 3.594 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.009384, allocations: 0 / 0.7945 GB, free: 3.594 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001729/0.009557, allocations: 19.94 kB / 0.7945 GB, free: 3.574 MB / 0.698 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.0001202/0.009677, allocations: 100.4 kB / 0.7946 GB, free: 3.465 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002009/0.009878, allocations: 180.5 kB / 0.7947 GB, free: 3.285 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.00988, allocations: 0 / 0.7947 GB, free: 3.285 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.597e-05/0.009955, allocations: 92.27 kB / 0.7948 GB, free: 3.191 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.01013, allocations: 20.47 kB / 0.7949 GB, free: 3.172 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005433/0.01067, allocations: 257.8 kB / 0.7951 GB, free: 2.895 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.159e-05/0.01071, allocations: 66.59 kB / 0.7952 GB, free: 2.812 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001545/0.01086, allocations: 188.4 kB / 0.7953 GB, free: 2.633 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.847e-05/0.01092, allocations: 32.45 kB / 0.7954 GB, free: 2.598 MB / 0.698 GB Notification: Performance of SimCode: time 9.52e-07/0.01092, allocations: 0 / 0.7954 GB, free: 2.598 MB / 0.698 GB Notification: Performance of Templates: time 0.00328/0.0142, allocations: 1.52 MB / 0.7969 GB, free: 1.098 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 4.942154029849917]