Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001929/0.001929, allocations: 81.94 kB / 19.76 MB, free: 2.02 MB / 14.72 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.001955/0.001955, allocations: 154.1 kB / 23 MB, free: 4.969 MB / 14.72 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 1.451/1.451, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.839/2.839, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00278/0.00278, allocations: 71.89 kB / 0.982 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.063, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.00265/1.066, allocations: 1.601 MB / 1.155 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001013/1.067, allocations: 0.6071 MB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.413e-05/1.067, allocations: 3.938 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.916e-05/1.067, allocations: 3.938 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.558e-05/1.067, allocations: 14.64 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/1.067, allocations: 67.28 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.461e-05/1.067, allocations: 45.14 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.736e-05/1.067, allocations: 16.61 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/1.068, allocations: 22.84 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.612e-05/1.068, allocations: 30.31 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/1.068, allocations: 5.094 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/1.068, allocations: 51.05 kB / 1.156 GB, free: 31.72 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.345e-05/1.068, allocations: 26.33 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/1.068, allocations: 21.03 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/1.068, allocations: 112.1 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.068, allocations: 4 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.422e-06/1.068, allocations: 0 / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.223e-05/1.068, allocations: 2.906 kB / 1.156 GB, free: 31.65 MB / 1.076 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.0004634/1.069, allocations: 319.8 kB / 1.157 GB, free: 31.35 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/1.069, allocations: 8.438 kB / 1.157 GB, free: 31.35 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009121/1.07, allocations: 218.6 kB / 1.157 GB, free: 31.34 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/1.07, allocations: 148.8 kB / 1.157 GB, free: 31.19 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.366e-05/1.07, allocations: 61.47 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/1.07, allocations: 6.188 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003667/1.07, allocations: 181.2 kB / 1.157 GB, free: 31.06 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/1.07, allocations: 0 / 1.157 GB, free: 31.06 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/1.07, allocations: 3.938 kB / 1.157 GB, free: 31.06 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/1.07, allocations: 0 / 1.157 GB, free: 31.06 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005002/1.071, allocations: 234.8 kB / 1.158 GB, free: 31.03 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006799/1.071, allocations: 451.5 kB / 1.158 GB, free: 30.77 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005101/1.072, allocations: 244.6 kB / 1.158 GB, free: 30.71 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/1.072, allocations: 114.7 kB / 1.158 GB, free: 30.69 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/1.072, allocations: 2.844 kB / 1.158 GB, free: 30.69 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.249e-05/1.072, allocations: 34.56 kB / 1.158 GB, free: 30.64 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/1.072, allocations: 0 / 1.158 GB, free: 30.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0008542/1.073, allocations: 374.7 kB / 1.159 GB, free: 30.56 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/1.073, allocations: 54.31 kB / 1.159 GB, free: 30.5 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/1.073, allocations: 156.2 kB / 1.159 GB, free: 30.38 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/1.073, allocations: 29.7 kB / 1.159 GB, free: 30.34 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/1.073, allocations: 101.2 kB / 1.159 GB, free: 30.25 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/1.073, allocations: 3.953 kB / 1.159 GB, free: 30.25 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/1.073, allocations: 25.69 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.01e-05/1.073, allocations: 324.8 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/1.074, allocations: 110.6 kB / 1.16 GB, free: 29.89 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/1.074, allocations: 116.1 kB / 1.16 GB, free: 29.88 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004682/1.074, allocations: 203.2 kB / 1.16 GB, free: 29.84 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.074, allocations: 0 / 1.16 GB, free: 29.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005528/1.075, allocations: 255.7 kB / 1.16 GB, free: 29.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/1.075, allocations: 5.781 kB / 1.16 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/1.075, allocations: 3.375 kB / 1.16 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/1.075, allocations: 3 kB / 1.16 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/1.075, allocations: 40.7 kB / 1.16 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/1.075, allocations: 3.938 kB / 1.16 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/1.075, allocations: 38.73 kB / 1.16 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/1.075, allocations: 6.094 kB / 1.16 GB, free: 29.77 MB / 1.076 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.74e-05/1.075, allocations: 117.3 kB / 1.16 GB, free: 29.65 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/1.075, allocations: 10.16 kB / 1.16 GB, free: 29.64 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/1.075, allocations: 6.781 kB / 1.16 GB, free: 29.64 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/1.075, allocations: 0 / 1.16 GB, free: 29.64 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.075, allocations: 3.938 kB / 1.16 GB, free: 29.63 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/1.075, allocations: 6.719 kB / 1.16 GB, free: 29.63 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/1.076, allocations: 186.5 kB / 1.161 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.076, allocations: 0 / 1.161 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/1.076, allocations: 46.66 kB / 1.161 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/1.076, allocations: 0 / 1.161 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/1.076, allocations: 0 / 1.161 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.076, allocations: 3.328 kB / 1.161 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/1.076, allocations: 2.875 kB / 1.161 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/1.076, allocations: 357 kB / 1.161 GB, free: 29.31 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.857e-05/1.076, allocations: 10.52 kB / 1.161 GB, free: 29.3 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/1.076, allocations: 6.812 kB / 1.161 GB, free: 29.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/1.077, allocations: 36.47 kB / 1.161 GB, free: 29.3 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/1.077, allocations: 7.406 kB / 1.161 GB, free: 29.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/1.077, allocations: 2.656 kB / 1.161 GB, free: 29.29 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.014e-05/1.077, allocations: 124.3 kB / 1.161 GB, free: 29.21 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.077, allocations: 0 / 1.161 GB, free: 29.21 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002595/1.077, allocations: 18.89 kB / 1.161 GB, free: 29.2 MB / 1.076 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.0001336/1.077, allocations: 104.2 kB / 1.161 GB, free: 29.11 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005726/1.078, allocations: 232.7 kB / 1.161 GB, free: 29.08 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.078, allocations: 0 / 1.161 GB, free: 29.08 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002686/1.078, allocations: 123.2 kB / 1.162 GB, free: 29.07 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/1.078, allocations: 6.875 kB / 1.162 GB, free: 29.06 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005782/1.079, allocations: 300.2 kB / 1.162 GB, free: 28.89 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.917e-05/1.079, allocations: 82 kB / 1.162 GB, free: 28.82 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.673e-05/1.079, allocations: 26.25 kB / 1.162 GB, free: 28.8 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.311e-05/1.079, allocations: 22.08 kB / 1.162 GB, free: 28.79 MB / 1.076 GB Notification: Performance of SimCode: time 4.01e-07/1.079, allocations: 2.969 kB / 1.162 GB, free: 28.79 MB / 1.076 GB Notification: Performance of Templates: time 0.003761/1.083, allocations: 1.306 MB / 1.163 GB, free: 28.64 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.183905939920805]