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.002178/0.002178, allocations: 79.28 kB / 19.18 MB, free: 2.52 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.001909/0.001909, allocations: 167.2 kB / 22.46 MB, free: 5.371 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.477/1.477, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 2.793/2.793, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 176] 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 2.354e-06/2.354e-06, allocations: 0 / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.283e-05/4.518e-05, allocations: 2.281 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.004168/0.004213, allocations: 1.596 MB / 0.9525 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001789/0.006002, allocations: 0.6162 MB / 0.9531 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.006112, allocations: 7.938 kB / 0.9532 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.572e-05/0.006178, allocations: 7.938 kB / 0.9532 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.006295, allocations: 3.938 kB / 0.9532 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005488/0.006844, allocations: 71.67 kB / 0.9532 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003756/0.00722, allocations: 47.84 kB / 0.9533 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.007356, allocations: 15.97 kB / 0.9533 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.007531, allocations: 35.91 kB / 0.9533 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.284e-05/0.007614, allocations: 23.91 kB / 0.9534 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.007637, allocations: 0 / 0.9534 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.00783, allocations: 55.95 kB / 0.9534 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.643e-05/0.007906, allocations: 23.91 kB / 0.9534 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.337e-05/0.00796, allocations: 19.92 kB / 0.9534 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.008252, allocations: 107.6 kB / 0.9535 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.008256, allocations: 3.938 kB / 0.9536 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.383e-06/0.008257, allocations: 0 / 0.9536 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.008263, allocations: 0 / 0.9536 GB, free: 8.906 MB / 0.8575 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.000796/0.009058, allocations: 329.8 kB / 0.9539 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.009109, allocations: 8.031 kB / 0.9539 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.01034, allocations: 332.2 kB / 0.9542 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.01077, allocations: 163.5 kB / 0.9543 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.01088, allocations: 67.94 kB / 0.9544 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.0109, allocations: 4.375 kB / 0.9544 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/0.01144, allocations: 209.7 kB / 0.9546 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.01145, allocations: 0 / 0.9546 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.01146, allocations: 0 / 0.9546 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.01147, allocations: 0 / 0.9546 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008582/0.01233, allocations: 295.6 kB / 0.9549 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.01348, allocations: 0.4995 MB / 0.9554 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007483/0.01423, allocations: 286.2 kB / 0.9557 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.0146, allocations: 152.7 kB / 0.9558 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.01462, allocations: 3.984 kB / 0.9558 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.407e-05/0.01471, allocations: 38.56 kB / 0.9558 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.01471, allocations: 3.938 kB / 0.9558 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.001249/0.01596, allocations: 461 kB / 0.9563 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.01601, allocations: 51.41 kB / 0.9563 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.01621, allocations: 164.4 kB / 0.9565 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.01624, allocations: 25.7 kB / 0.9565 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/0.01633, allocations: 96.12 kB / 0.9566 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.01636, allocations: 8.078 kB / 0.9566 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.497e-05/0.01643, allocations: 37.69 kB / 0.9567 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002385/0.01667, allocations: 326.8 kB / 0.957 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000371/0.01704, allocations: 139.8 kB / 0.9571 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.0174, allocations: 135.9 kB / 0.9572 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006626/0.01806, allocations: 252.5 kB / 0.9575 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.01806, allocations: 3.984 kB / 0.9575 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0007869/0.01885, allocations: 321.2 kB / 0.9578 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.01888, allocations: 7.984 kB / 0.9578 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01889, allocations: 0 / 0.9578 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.01891, allocations: 0 / 0.9578 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.01918, allocations: 79.92 kB / 0.9579 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.01919, allocations: 3.938 kB / 0.9579 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.01938, allocations: 51.92 kB / 0.9579 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-05/0.01948, allocations: 79.77 kB / 0.958 GB, free: 4.168 MB / 0.8575 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.0001397/0.01962, allocations: 109.8 kB / 0.9581 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.01967, allocations: 11.95 kB / 0.9581 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.0197, allocations: 19.89 kB / 0.9581 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01971, allocations: 0 / 0.9581 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.01971, allocations: 0 / 0.9581 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01971, allocations: 0 / 0.9581 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/0.02005, allocations: 193.2 kB / 0.9583 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.02005, allocations: 0 / 0.9583 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.02029, allocations: 79.81 kB / 0.9584 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.02029, allocations: 4 kB / 0.9584 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.02032, allocations: 11.98 kB / 0.9584 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.02032, allocations: 0 / 0.9584 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.02032, allocations: 0 / 0.9584 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008634/0.02118, allocations: 423 kB / 0.9588 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.86e-05/0.02121, allocations: 19.83 kB / 0.9588 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.02124, allocations: 0 / 0.9588 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.02147, allocations: 51.92 kB / 0.9589 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.02152, allocations: 0 / 0.9589 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.595e-05/0.02162, allocations: 71.88 kB / 0.9589 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001424/0.02176, allocations: 128.7 kB / 0.9591 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.02176, allocations: 0 / 0.9591 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003232/0.02208, allocations: 19.94 kB / 0.9591 GB, free: 2.996 MB / 0.8575 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.0002506/0.02233, allocations: 101.1 kB / 0.9592 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008428/0.02318, allocations: 303.5 kB / 0.9595 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.02318, allocations: 0 / 0.9595 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003907/0.02357, allocations: 151.8 kB / 0.9596 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.02386, allocations: 4 kB / 0.9596 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009685/0.02483, allocations: 304.5 kB / 0.9599 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/0.02501, allocations: 79.59 kB / 0.96 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0005135/0.02553, allocations: 187.6 kB / 0.9602 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.02563, allocations: 36.45 kB / 0.9602 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of SimCode: time 3.1e-07/0.02563, allocations: 4 kB / 0.9602 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of Templates: time 0.006489/0.03212, allocations: 1.304 MB / 0.9615 GB, free: 0.5 MB / 0.8575 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=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/jenkins/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: 8.247030217200518]