Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001889/0.001889, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 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.00236/0.00236, allocations: 161.3 kB / 22.75 MB, free: 1.652 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.56/1.56, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.278/3.278, allocations: 429.6 MB / 0.673 GB, free: 3.871 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.098e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003348/0.003379, allocations: 1.61 MB / 0.8792 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.004811, allocations: 0.6114 MB / 0.8798 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.529e-05/0.004876, allocations: 0.75 kB / 0.8798 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.12e-05/0.004947, allocations: 7.922 kB / 0.8798 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.404e-05/0.005041, allocations: 9.031 kB / 0.8798 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.00545, allocations: 64.39 kB / 0.8799 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.005584, allocations: 51.83 kB / 0.8799 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.84e-05/0.005672, allocations: 9.25 kB / 0.8799 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.005835, allocations: 43.83 kB / 0.88 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.406e-05/0.005909, allocations: 19.92 kB / 0.88 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.005926, allocations: 0.9375 kB / 0.88 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.006081, allocations: 55.88 kB / 0.88 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.907e-05/0.00615, allocations: 24.95 kB / 0.8801 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.794e-05/0.006218, allocations: 23.91 kB / 0.8801 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.006453, allocations: 95.69 kB / 0.8802 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.006456, allocations: 1.125 kB / 0.8802 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.21e-07/0.006456, allocations: 0 / 0.8802 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.00646, allocations: 0 / 0.8802 GB, free: 3.867 MB / 0.8386 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.0006663/0.007127, allocations: 323 kB / 0.8805 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.007169, allocations: 12.03 kB / 0.8805 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.008453, allocations: 335.9 kB / 0.8808 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.008742, allocations: 162.2 kB / 0.881 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.008851, allocations: 69.28 kB / 0.881 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.00887, allocations: 4.375 kB / 0.881 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005486/0.009419, allocations: 209.7 kB / 0.8812 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.009428, allocations: 0 / 0.8812 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.009447, allocations: 3.984 kB / 0.8812 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.009454, allocations: 3.984 kB / 0.8812 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008254/0.01028, allocations: 291.6 kB / 0.8815 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.01132, allocations: 0.4919 MB / 0.882 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007805/0.0121, allocations: 294.2 kB / 0.8823 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003765/0.01248, allocations: 140.7 kB / 0.8824 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.0125, allocations: 8 kB / 0.8824 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.01254, allocations: 30.56 kB / 0.8825 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 3.617e-06/0.01254, allocations: 4 kB / 0.8825 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.001328/0.01387, allocations: 453.2 kB / 0.8829 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.01392, allocations: 59.33 kB / 0.8829 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.01422, allocations: 156.7 kB / 0.8831 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.01425, allocations: 25.7 kB / 0.8831 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.162e-05/0.01434, allocations: 112.1 kB / 0.8832 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.01436, allocations: 3.953 kB / 0.8832 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.006e-05/0.01444, allocations: 37.67 kB / 0.8833 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.01463, allocations: 330.8 kB / 0.8836 GB, free: 204 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/0.01501, allocations: 135.8 kB / 0.8837 GB, free: 68 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/0.0154, allocations: 143.8 kB / 0.8838 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006887/0.01609, allocations: 252.5 kB / 0.8841 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01609, allocations: 0 / 0.8841 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0008257/0.01692, allocations: 321.3 kB / 0.8844 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.01693, allocations: 4 kB / 0.8844 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01694, allocations: 0 / 0.8844 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.01696, allocations: 4 kB / 0.8844 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.01723, allocations: 75.83 kB / 0.8845 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.01723, allocations: 7.984 kB / 0.8845 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.01744, allocations: 59.89 kB / 0.8845 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.792e-05/0.01753, allocations: 63.84 kB / 0.8846 GB, free: 15.14 MB / 0.8542 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.0001743/0.01771, allocations: 117.8 kB / 0.8847 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.664e-05/0.01776, allocations: 19.88 kB / 0.8847 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.01779, allocations: 11.97 kB / 0.8847 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.01779, allocations: 4 kB / 0.8847 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.0178, allocations: 0 / 0.8847 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.0178, allocations: 0 / 0.8847 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.01809, allocations: 189.2 kB / 0.8849 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01809, allocations: 0 / 0.8849 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.01834, allocations: 79.88 kB / 0.885 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01834, allocations: 0 / 0.885 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.01836, allocations: 11.98 kB / 0.885 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.01836, allocations: 0 / 0.885 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.01837, allocations: 4 kB / 0.885 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009002/0.01927, allocations: 423 kB / 0.8854 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.023e-05/0.01929, allocations: 3.953 kB / 0.8854 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.01932, allocations: 8 kB / 0.8854 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.01957, allocations: 59.8 kB / 0.8855 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.0196, allocations: 0 / 0.8855 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.482e-05/0.0197, allocations: 71.88 kB / 0.8856 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001281/0.01983, allocations: 129.6 kB / 0.8857 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01983, allocations: 0 / 0.8857 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002738/0.0201, allocations: 15.95 kB / 0.8857 GB, free: 13.96 MB / 0.8542 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.0001748/0.02027, allocations: 99.19 kB / 0.8858 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008132/0.02109, allocations: 295.5 kB / 0.8861 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.02109, allocations: 0 / 0.8861 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004146/0.0215, allocations: 155.9 kB / 0.8862 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.02176, allocations: 23.92 kB / 0.8862 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000779/0.02254, allocations: 308 kB / 0.8865 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.478e-05/0.02264, allocations: 79.33 kB / 0.8866 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003091/0.02295, allocations: 195.6 kB / 0.8868 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.108e-05/0.02304, allocations: 32.47 kB / 0.8868 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.02304, allocations: 0 / 0.8868 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of Templates: time 0.004514/0.02755, allocations: 1.306 MB / 0.8881 GB, free: 11.45 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.257443502079695]