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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002653/0.002653, allocations: 195.5 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.809/2.809, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002035/0.002035, allocations: 76.11 kB / 1.109 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.704/0.706, allocations: 168.7 MB / 1.274 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002774/0.7088, allocations: 1.594 MB / 1.276 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.7099, allocations: 0.5978 MB / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.409e-05/0.7099, allocations: 0 / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.434e-05/0.7099, allocations: 11.81 kB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.685e-05/0.71, allocations: 11.92 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.7103, allocations: 55.81 kB / 1.276 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.449e-05/0.7104, allocations: 43.86 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.7105, allocations: 11.98 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.914e-05/0.7106, allocations: 27.84 kB / 1.276 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.7106, allocations: 31.86 kB / 1.276 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.7107, allocations: 4 kB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.7108, allocations: 47.95 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.347e-05/0.7108, allocations: 23.91 kB / 1.276 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.7109, allocations: 31.8 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.7111, allocations: 102.3 kB / 1.277 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.7111, allocations: 0 / 1.277 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7111, allocations: 0 / 1.277 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.7111, allocations: 0 / 1.277 GB, free: 1.945 MB / 0.9669 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.0005788/0.7117, allocations: 406.8 kB / 1.277 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.7117, allocations: 12.03 kB / 1.277 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009474/0.7126, allocations: 208.5 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.7128, allocations: 184.8 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.906e-05/0.7129, allocations: 34.27 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.7129, allocations: 7.938 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004433/0.7133, allocations: 169.5 kB / 1.278 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.7133, allocations: 7.984 kB / 1.278 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.7133, allocations: 4 kB / 1.278 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.7134, allocations: 3.938 kB / 1.278 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006232/0.714, allocations: 235.7 kB / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009176/0.7149, allocations: 0.5078 MB / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006337/0.7155, allocations: 242.3 kB / 1.279 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/0.7158, allocations: 120.8 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.7159, allocations: 0 / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.7159, allocations: 34.56 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.7159, allocations: 0 / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.001046/0.7169, allocations: 369.4 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.717, allocations: 51.41 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.7171, allocations: 168.8 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.7172, allocations: 29.7 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/0.7172, allocations: 104.1 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.7172, allocations: 7.891 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.7173, allocations: 25.67 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.7174, allocations: 322.8 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003126/0.7177, allocations: 111.9 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.718, allocations: 115.9 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005631/0.7186, allocations: 200.6 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7186, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006633/0.7193, allocations: 257.4 kB / 1.28 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.7193, allocations: 4 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.7193, allocations: 0 / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.7193, allocations: 4 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.7195, allocations: 51.88 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.7195, allocations: 7.875 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.7197, allocations: 31.94 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.7197, allocations: 12 kB / 1.28 GB, free: 13.74 MB / 0.9825 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.0001/0.7198, allocations: 114.4 kB / 1.281 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.7199, allocations: 15.91 kB / 1.281 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.7199, allocations: 15.86 kB / 1.281 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.7199, allocations: 0 / 1.281 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.7199, allocations: 3.938 kB / 1.281 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.7199, allocations: 0 / 1.281 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.7202, allocations: 249.6 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7202, allocations: 0 / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.7204, allocations: 39.92 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.7204, allocations: 4 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.7204, allocations: 7.984 kB / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7204, allocations: 0 / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7204, allocations: 3.938 kB / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007204/0.7211, allocations: 355.2 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.7212, allocations: 85.06 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.7212, allocations: 0 / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.7214, allocations: 35.97 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.7215, allocations: 7.922 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.7215, allocations: 4 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001126/0.7216, allocations: 133.6 kB / 1.282 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.7216, allocations: 0 / 1.282 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000266/0.7218, allocations: 16 kB / 1.282 GB, free: 12.58 MB / 0.9825 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.0001638/0.722, allocations: 103.2 kB / 1.282 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006807/0.7227, allocations: 235.7 kB / 1.282 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.7227, allocations: 4.062 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003174/0.723, allocations: 111.9 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.7232, allocations: 11.94 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006559/0.7239, allocations: 298.9 kB / 1.282 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.7242, allocations: 0.699 MB / 1.283 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.203e-05/0.7243, allocations: 24 kB / 1.283 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.7244, allocations: 23.34 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.7244, allocations: 3.938 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of Templates: time 0.004015/0.7284, allocations: 1.303 MB / 1.284 GB, free: 9.715 MB / 0.9825 GB " [Timeout remaining time 299] 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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.393340662121773]