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.001833/0.001833, allocations: 88.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.001691/0.001691, allocations: 165.3 kB / 23.55 MB, free: 0.8633 MB / 18.57 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.512/1.512, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 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.795/2.795, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 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 1.051e-05/1.051e-05, allocations: 0.5469 kB / 0.7864 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.043e-05/4.094e-05, allocations: 4.703 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.00341/0.003451, allocations: 1.608 MB / 0.788 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.004914, allocations: 0.6107 MB / 0.7886 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.985e-05/0.004994, allocations: 0 / 0.7886 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.503e-05/0.005059, allocations: 3.938 kB / 0.7886 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.005174, allocations: 13.44 kB / 0.7886 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005539/0.005728, allocations: 71.72 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.005903, allocations: 56.62 kB / 0.7887 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.006035, allocations: 7.984 kB / 0.7887 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.006237, allocations: 40.77 kB / 0.7887 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.132e-05/0.006318, allocations: 11.98 kB / 0.7888 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.006342, allocations: 6.469 kB / 0.7888 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.006557, allocations: 59.92 kB / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.239e-05/0.00664, allocations: 19.92 kB / 0.7888 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.084e-05/0.00669, allocations: 11.94 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.00698, allocations: 111.6 kB / 0.789 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.006986, allocations: 4 kB / 0.789 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.92e-07/0.006987, allocations: 0 / 0.789 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.006991, allocations: 1.75 kB / 0.789 GB, free: 10.22 MB / 0.7448 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.0007301/0.007721, allocations: 333.7 kB / 0.7893 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.007762, allocations: 8.031 kB / 0.7893 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.009001, allocations: 331.6 kB / 0.7896 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.009295, allocations: 158.2 kB / 0.7898 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.009409, allocations: 72.41 kB / 0.7898 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.009428, allocations: 6.312 kB / 0.7898 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005352/0.009964, allocations: 208.4 kB / 0.79 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.009974, allocations: 3.938 kB / 0.79 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.009991, allocations: 0 / 0.79 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.01, allocations: 3.984 kB / 0.79 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007284/0.01073, allocations: 287.1 kB / 0.7903 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.01174, allocations: 0.4979 MB / 0.7908 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009925/0.01273, allocations: 290.4 kB / 0.7911 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003723/0.01311, allocations: 146 kB / 0.7912 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.01312, allocations: 1.625 kB / 0.7912 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.01316, allocations: 34.56 kB / 0.7912 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.01316, allocations: 0 / 0.7912 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.001287/0.01445, allocations: 459.4 kB / 0.7917 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.0145, allocations: 55.39 kB / 0.7917 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.0147, allocations: 156.1 kB / 0.7919 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.01473, allocations: 29.7 kB / 0.7919 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.724e-05/0.01483, allocations: 105.2 kB / 0.792 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.01485, allocations: 0 / 0.792 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.45e-05/0.01494, allocations: 33.69 kB / 0.792 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.01514, allocations: 331.4 kB / 0.7924 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/0.01553, allocations: 143.4 kB / 0.7925 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/0.01591, allocations: 137.8 kB / 0.7926 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006793/0.01659, allocations: 251.7 kB / 0.7929 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.0166, allocations: 0 / 0.7929 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0008346/0.01743, allocations: 326.6 kB / 0.7932 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.01745, allocations: 4 kB / 0.7932 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01746, allocations: 7.938 kB / 0.7932 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.01747, allocations: 0 / 0.7932 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.01777, allocations: 87.86 kB / 0.7933 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.01778, allocations: 7.969 kB / 0.7933 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.01798, allocations: 51.92 kB / 0.7933 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.01808, allocations: 71.78 kB / 0.7934 GB, free: 5.523 MB / 0.7448 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.0001243/0.0182, allocations: 117.8 kB / 0.7935 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.01826, allocations: 7.953 kB / 0.7935 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.01829, allocations: 15.95 kB / 0.7935 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01829, allocations: 0 / 0.7935 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.0183, allocations: 0 / 0.7935 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.0183, allocations: 0 / 0.7935 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.0186, allocations: 197 kB / 0.7937 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.0186, allocations: 0 / 0.7937 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.01886, allocations: 87.81 kB / 0.7938 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.01886, allocations: 0 / 0.7938 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.01888, allocations: 7.984 kB / 0.7938 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.01888, allocations: 4 kB / 0.7938 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01889, allocations: 0 / 0.7938 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008895/0.01978, allocations: 423 kB / 0.7942 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.14e-05/0.0198, allocations: 7.953 kB / 0.7942 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.01982, allocations: 0 / 0.7942 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.02006, allocations: 63.89 kB / 0.7943 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.0201, allocations: 3.984 kB / 0.7943 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.839e-05/0.02019, allocations: 63.91 kB / 0.7944 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001217/0.02031, allocations: 129.2 kB / 0.7945 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02031, allocations: 0 / 0.7945 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002881/0.0206, allocations: 19.94 kB / 0.7945 GB, free: 4.344 MB / 0.7448 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.0001956/0.02079, allocations: 99.25 kB / 0.7946 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009151/0.02171, allocations: 295.5 kB / 0.7949 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.02171, allocations: 4.062 kB / 0.7949 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004194/0.02213, allocations: 151.8 kB / 0.795 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.02239, allocations: 17.7 kB / 0.795 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008191/0.02321, allocations: 312.2 kB / 0.7953 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.02331, allocations: 83.27 kB / 0.7954 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003181/0.02363, allocations: 191.6 kB / 0.7956 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.517e-05/0.02373, allocations: 36.47 kB / 0.7956 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.02373, allocations: 0 / 0.7956 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of Templates: time 0.005045/0.02877, allocations: 1.308 MB / 0.7969 GB, free: 1.828 MB / 0.7448 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: 7.761279613012448]