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.001435/0.001435, allocations: 80.38 kB / 19.18 MB, free: 2.516 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.001534/0.001534, allocations: 162.6 kB / 22.46 MB, free: 5.375 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.524/1.524, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.924/2.924, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.731e-05/3.895e-05, allocations: 13.45 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002887/0.002926, allocations: 1.592 MB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.004143, allocations: 0.6194 MB / 0.9836 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.597e-05/0.004199, allocations: 7.938 kB / 0.9836 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.1e-05/0.00424, allocations: 3.938 kB / 0.9836 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.741e-05/0.004318, allocations: 3.938 kB / 0.9836 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.00465, allocations: 67.73 kB / 0.9837 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.004772, allocations: 47.84 kB / 0.9837 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.799e-05/0.00487, allocations: 19.91 kB / 0.9838 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.005, allocations: 35.86 kB / 0.9838 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.267e-05/0.005062, allocations: 31.89 kB / 0.9838 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.005078, allocations: 0 / 0.9838 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.00522, allocations: 55.89 kB / 0.9839 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.318e-05/0.005293, allocations: 19.92 kB / 0.9839 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.005333, allocations: 23.91 kB / 0.9839 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.005548, allocations: 103.7 kB / 0.984 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.005552, allocations: 0 / 0.984 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.062e-06/0.005553, allocations: 0 / 0.984 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.005557, allocations: 0 / 0.984 GB, free: 9.305 MB / 0.9356 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.0005853/0.006143, allocations: 337.8 kB / 0.9843 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.006175, allocations: 8.031 kB / 0.9843 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.007295, allocations: 328.2 kB / 0.9847 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.007576, allocations: 168.2 kB / 0.9848 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.21e-05/0.007668, allocations: 67.94 kB / 0.9849 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.007688, allocations: 4.375 kB / 0.9849 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004967/0.008185, allocations: 205.7 kB / 0.9851 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.008193, allocations: 0 / 0.9851 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.008208, allocations: 0 / 0.9851 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.008213, allocations: 4 kB / 0.9851 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006899/0.008903, allocations: 291.6 kB / 0.9854 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009719/0.009875, allocations: 0.5035 MB / 0.9859 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006883/0.01056, allocations: 290.2 kB / 0.9861 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.01091, allocations: 152.8 kB / 0.9863 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.01092, allocations: 3.938 kB / 0.9863 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.01096, allocations: 34.56 kB / 0.9863 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.01096, allocations: 0 / 0.9863 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.001173/0.01214, allocations: 457.1 kB / 0.9867 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.01218, allocations: 51.41 kB / 0.9868 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.01236, allocations: 156.2 kB / 0.9869 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.01238, allocations: 33.7 kB / 0.987 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.189e-05/0.01246, allocations: 96.2 kB / 0.9871 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.01248, allocations: 11.94 kB / 0.9871 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.027e-05/0.01255, allocations: 33.69 kB / 0.9871 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.01273, allocations: 326.8 kB / 0.9874 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/0.01308, allocations: 139.8 kB / 0.9876 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.01341, allocations: 139.8 kB / 0.9877 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006314/0.01404, allocations: 252.5 kB / 0.9879 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01405, allocations: 0 / 0.9879 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000746/0.01479, allocations: 321.3 kB / 0.9882 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.01481, allocations: 4 kB / 0.9882 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.01482, allocations: 7.922 kB / 0.9882 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.01483, allocations: 0 / 0.9882 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.01509, allocations: 79.86 kB / 0.9883 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.0151, allocations: 0 / 0.9883 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.01529, allocations: 59.81 kB / 0.9884 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-05/0.01539, allocations: 79.83 kB / 0.9885 GB, free: 4.559 MB / 0.9356 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.000127/0.01552, allocations: 109.8 kB / 0.9886 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.01556, allocations: 7.953 kB / 0.9886 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.01559, allocations: 15.95 kB / 0.9886 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01559, allocations: 0 / 0.9886 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.01559, allocations: 0 / 0.9886 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.0156, allocations: 3.938 kB / 0.9886 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.01587, allocations: 201.1 kB / 0.9888 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.01587, allocations: 0 / 0.9888 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.0161, allocations: 79.88 kB / 0.9889 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.0161, allocations: 0 / 0.9889 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.01612, allocations: 11.98 kB / 0.9889 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.01613, allocations: 0 / 0.9889 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01613, allocations: 0 / 0.9889 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008452/0.01697, allocations: 423 kB / 0.9893 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.576e-05/0.017, allocations: 15.92 kB / 0.9893 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.01702, allocations: 0 / 0.9893 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.01725, allocations: 59.89 kB / 0.9893 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.01728, allocations: 0 / 0.9893 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.527e-05/0.01737, allocations: 67.84 kB / 0.9894 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001101/0.01748, allocations: 129.2 kB / 0.9895 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.01748, allocations: 0 / 0.9895 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002728/0.01775, allocations: 19.94 kB / 0.9896 GB, free: 3.387 MB / 0.9356 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.0001888/0.01794, allocations: 103.8 kB / 0.9897 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007438/0.01868, allocations: 295.6 kB / 0.9899 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01868, allocations: 0 / 0.9899 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003595/0.01904, allocations: 143.8 kB / 0.9901 GB, free: 2.844 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.01928, allocations: 7.984 kB / 0.9901 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007163/0.02, allocations: 308.6 kB / 0.9904 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.755e-05/0.0201, allocations: 83.59 kB / 0.9905 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002714/0.02037, allocations: 187.6 kB / 0.9906 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.696e-05/0.02047, allocations: 36.45 kB / 0.9907 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of SimCode: time 4.3e-07/0.02047, allocations: 0 / 0.9907 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of Templates: time 0.004456/0.02492, allocations: 1.298 MB / 0.9919 GB, free: 0.8867 MB / 0.9356 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 8.390897031873465]