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.001748/0.001748, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001722/0.001722, allocations: 217.3 kB / 22.99 MB, free: 4.945 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.742/2.742, allocations: 476 MB / 0.7707 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002149/0.002149, allocations: 65.78 kB / 1.118 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3256, allocations: 169.9 MB / 1.284 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003303/0.3289, allocations: 1.609 MB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.3302, allocations: 0.6019 MB / 1.286 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.3302, allocations: 4 kB / 1.286 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.245e-05/0.3303, allocations: 7.922 kB / 1.286 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.495e-05/0.3304, allocations: 15.86 kB / 1.286 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.3307, allocations: 63.88 kB / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.3308, allocations: 51.78 kB / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.3309, allocations: 11.98 kB / 1.286 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.331, allocations: 27.86 kB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.164e-05/0.3311, allocations: 27.84 kB / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.3311, allocations: 4 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.3313, allocations: 55.94 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.3313, allocations: 15.92 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.3314, allocations: 23.86 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.3316, allocations: 111.5 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3316, allocations: 4 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3316, allocations: 0 / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.3316, allocations: 0 / 1.286 GB, free: 9.332 MB / 0.9825 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.0006355/0.3322, allocations: 321.8 kB / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3323, allocations: 15.97 kB / 1.287 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009545/0.3332, allocations: 216.5 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.3335, allocations: 150.9 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.899e-05/0.3336, allocations: 63.95 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.3336, allocations: 3.938 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004406/0.334, allocations: 169.5 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.3341, allocations: 7.938 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.3341, allocations: 8 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3341, allocations: 0 / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006002/0.3347, allocations: 231.8 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008831/0.3356, allocations: 455.5 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005945/0.3362, allocations: 246.2 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.3365, allocations: 120.8 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.3365, allocations: 0 / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.3365, allocations: 30.56 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.3365, allocations: 0 / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.001032/0.3375, allocations: 369.4 kB / 1.289 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.3376, allocations: 51.41 kB / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.3378, allocations: 165.7 kB / 1.289 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.3378, allocations: 25.7 kB / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.383e-05/0.3379, allocations: 104 kB / 1.289 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.3379, allocations: 11.94 kB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.3379, allocations: 21.7 kB / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3381, allocations: 322.8 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.3384, allocations: 111.9 kB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.3387, allocations: 111.9 kB / 1.29 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005281/0.3392, allocations: 196.7 kB / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3392, allocations: 4 kB / 1.29 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006461/0.3399, allocations: 253.4 kB / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3399, allocations: 7.984 kB / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3399, allocations: 0 / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.3399, allocations: 0 / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.3401, allocations: 51.86 kB / 1.29 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.3401, allocations: 3.938 kB / 1.29 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.3403, allocations: 35.97 kB / 1.29 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.3403, allocations: 7.984 kB / 1.29 GB, free: 5.332 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.0001144/0.3404, allocations: 113.8 kB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.3405, allocations: 7.953 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.3405, allocations: 11.97 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3405, allocations: 0 / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3405, allocations: 3.938 kB / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3405, allocations: 0 / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.3408, allocations: 189.2 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3408, allocations: 8 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.341, allocations: 43.91 kB / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.341, allocations: 3.984 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.341, allocations: 7.922 kB / 1.29 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.341, allocations: 4 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.341, allocations: 0 / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007112/0.3417, allocations: 355.1 kB / 1.291 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/0.3417, allocations: 7.953 kB / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.3418, allocations: 8.031 kB / 1.291 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.3419, allocations: 35.94 kB / 1.291 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.342, allocations: 3.938 kB / 1.291 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.342, allocations: 7.984 kB / 1.291 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001009/0.3421, allocations: 115.2 kB / 1.291 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3421, allocations: 0 / 1.291 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002647/0.3424, allocations: 23.94 kB / 1.291 GB, free: 4.344 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.0001705/0.3425, allocations: 103.2 kB / 1.291 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006438/0.3432, allocations: 231.8 kB / 1.291 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3432, allocations: 0 / 1.291 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000302/0.3435, allocations: 123.8 kB / 1.291 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.3437, allocations: 2.5 kB / 1.291 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007176/0.3444, allocations: 329 kB / 1.292 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.794e-05/0.3445, allocations: 79.59 kB / 1.292 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.766e-05/0.3446, allocations: 23.41 kB / 1.292 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of SimCode: time 4.2e-07/0.3446, allocations: 0 / 1.292 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of Templates: time 0.003721/0.3483, allocations: 1.699 MB / 1.293 GB, free: 1.703 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 -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/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: 11.516438599210232]