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.0008031/0.0008031, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00138/0.002183, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008454/0.0008454, allocations: 157.2 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00117/0.002016, allocations: 467.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9591/0.9591, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08817/1.047, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.451/2.451, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2859/2.737, allocations: 145.9 MB / 0.817 GB, free: 4.203 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.132e-06/1.132e-06, allocations: 0 / 0.8183 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.733e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.001877/0.001895, allocations: 1.686 MB / 0.82 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006708/0.002565, allocations: 0.6426 MB / 0.8206 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.641e-05/0.002612, allocations: 0 / 0.8206 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.347e-05/0.002645, allocations: 3.938 kB / 0.8206 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.177e-05/0.002697, allocations: 7.938 kB / 0.8206 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.002906, allocations: 71.66 kB / 0.8207 GB, free: 456 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.349e-05/0.002989, allocations: 47.84 kB / 0.8207 GB, free: 408 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.15e-05/0.003061, allocations: 11.95 kB / 0.8207 GB, free: 396 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.003186, allocations: 51.83 kB / 0.8208 GB, free: 344 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.162e-05/0.003228, allocations: 19.91 kB / 0.8208 GB, free: 324 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.003242, allocations: 8 kB / 0.8208 GB, free: 316 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.003354, allocations: 51.95 kB / 0.8209 GB, free: 264 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.586e-05/0.0034, allocations: 15.92 kB / 0.8209 GB, free: 248 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.159e-05/0.003422, allocations: 19.94 kB / 0.8209 GB, free: 228 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.003556, allocations: 83.67 kB / 0.821 GB, free: 144 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.343e-05/0.003569, allocations: 0 / 0.821 GB, free: 144 kB / 0.7917 GB Notification: Performance of FrontEnd: time 9.82e-07/0.00357, allocations: 0 / 0.821 GB, free: 144 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.003581, allocations: 0 / 0.821 GB, free: 144 kB / 0.7917 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.0004069/0.003988, allocations: 312.1 kB / 0.8213 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.004016, allocations: 12.56 kB / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003848/0.004401, allocations: 261.7 kB / 0.8215 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.004551, allocations: 152.4 kB / 0.8217 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.611e-05/0.004607, allocations: 67.95 kB / 0.8217 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.004617, allocations: 384 / 0.8217 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.004802, allocations: 150.5 kB / 0.8219 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.004809, allocations: 0 / 0.8219 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.004817, allocations: 0 / 0.8219 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.004822, allocations: 4 kB / 0.8219 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.681e-05/0.004899, allocations: 75.94 kB / 0.822 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.005271, allocations: 360 kB / 0.8223 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.005404, allocations: 114.4 kB / 0.8224 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.159e-05/0.005446, allocations: 44.83 kB / 0.8224 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.005457, allocations: 0 / 0.8224 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.005476, allocations: 34.56 kB / 0.8225 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 2.034e-06/0.005478, allocations: 7.984 kB / 0.8225 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001799/0.005658, allocations: 129.6 kB / 0.8226 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.005686, allocations: 55.41 kB / 0.8227 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.005963, allocations: 142.7 kB / 0.8228 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.005981, allocations: 25.7 kB / 0.8228 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.416e-05/0.006015, allocations: 100 kB / 0.8229 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.00603, allocations: 3.953 kB / 0.8229 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.006074, allocations: 41.61 kB / 0.823 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.734e-05/0.006141, allocations: 326.8 kB / 0.8233 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.924e-05/0.00619, allocations: 48.08 kB / 0.8233 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.269e-05/0.006233, allocations: 51.94 kB / 0.8234 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.326e-05/0.006316, allocations: 92.7 kB / 0.8235 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.006318, allocations: 0 / 0.8235 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001209/0.006439, allocations: 121.7 kB / 0.8236 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.006452, allocations: 11.94 kB / 0.8236 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.006457, allocations: 0 / 0.8236 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.663e-06/0.006464, allocations: 0 / 0.8236 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.006589, allocations: 71.88 kB / 0.8237 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.006592, allocations: 0 / 0.8237 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.006638, allocations: 31.95 kB / 0.8237 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.988e-05/0.006688, allocations: 67.84 kB / 0.8238 GB, free: 13.1 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 6.495e-05/0.006753, allocations: 128.5 kB / 0.8239 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.006772, allocations: 4 kB / 0.8239 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.929e-05/0.006792, allocations: 3.969 kB / 0.8239 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.006793, allocations: 0 / 0.8239 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.006794, allocations: 4 kB / 0.8239 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.006797, allocations: 3.984 kB / 0.8239 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.006927, allocations: 141.8 kB / 0.824 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.006929, allocations: 0 / 0.824 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.865e-05/0.007018, allocations: 79.81 kB / 0.8241 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.238e-06/0.007027, allocations: 3.953 kB / 0.8241 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.007028, allocations: 0 / 0.8241 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.00704, allocations: 15.97 kB / 0.8241 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.007042, allocations: 3.984 kB / 0.8241 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.007044, allocations: 4 kB / 0.8241 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.00719, allocations: 223.3 kB / 0.8243 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.007202, allocations: 4.031 kB / 0.8243 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.261e-05/0.007264, allocations: 31.95 kB / 0.8244 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.007284, allocations: 0 / 0.8244 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.606e-05/0.00733, allocations: 71.83 kB / 0.8244 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.784e-05/0.007358, allocations: 35.08 kB / 0.8245 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007358, allocations: 0 / 0.8245 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001323/0.00749, allocations: 16 kB / 0.8245 GB, free: 12.29 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 0.0001075/0.007598, allocations: 84.41 kB / 0.8246 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.007732, allocations: 116.7 kB / 0.8247 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.289e-06/0.007737, allocations: 4 kB / 0.8247 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.309e-05/0.00779, allocations: 64.78 kB / 0.8248 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.007917, allocations: 35.91 kB / 0.8248 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000736/0.008653, allocations: 245.5 kB / 0.825 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.319e-05/0.008686, allocations: 63.34 kB / 0.8251 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001458/0.008832, allocations: 187.6 kB / 0.8253 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.584e-05/0.008908, allocations: 75.33 kB / 0.8253 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of SimCode: time 8.12e-07/0.008909, allocations: 0 / 0.8253 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of Templates: time 0.003097/0.01201, allocations: 1.522 MB / 0.8268 GB, free: 9.859 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.ref.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.377327132038772]